Changeset cde999a in mainline for uspace/drv/nic/ar9271


Ignore:
Timestamp:
2018-01-04T20:22:51Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3d95c9d, 84a1a54
Parents:
3c7702c0
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
Message:

Fix comments to stop referring to error codes as negative.

Location:
uspace/drv/nic/ar9271
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/ar9271/ar9271.c

    r3c7702c0 rcde999a  
    734734 * @param ar9271 AR9271 device structure
    735735 *
    736  * @return EOK if succeed, negative error code otherwise
     736 * @return EOK if succeed, error code otherwise
    737737 *
    738738 */
     
    877877 * @param dev The device structure.
    878878 *
    879  * @return EOK if succeed, negative error code otherwise
     879 * @return EOK if succeed, error code otherwise
    880880 */
    881881static int ar9271_add_device(ddf_dev_t *dev)
  • uspace/drv/nic/ar9271/ath_usb.c

    r3c7702c0 rcde999a  
    5656 * @param usb_device  Connected USB device.
    5757 *
    58  * @return EOK if succeed, negative error code otherwise.
     58 * @return EOK if succeed, error code otherwise.
    5959 *
    6060 */
     
    9191 * @param buffer_size Buffer size.
    9292 *
    93  * @return EOK if succeed, negative error code otherwise.
     93 * @return EOK if succeed, error code otherwise.
    9494 *
    9595 */
     
    111111 * @param transferred_size Real size of read data.
    112112 *
    113  * @return EOK if succeed, negative error code otherwise.
     113 * @return EOK if succeed, error code otherwise.
    114114 *
    115115 */
     
    130130 * @param buffer_size Buffer size.
    131131 *
    132  * @return EOK if succeed, negative error code otherwise.
     132 * @return EOK if succeed, error code otherwise.
    133133 *
    134134 */
     
    166166 * @param transferred_size Real size of read data.
    167167 *
    168  * @return EOK if succeed, negative error code otherwise.
     168 * @return EOK if succeed, error code otherwise.
    169169 *
    170170 */
  • uspace/drv/nic/ar9271/htc.c

    r3c7702c0 rcde999a  
    150150 * @param endpoint_id Destination endpoint.
    151151 *
    152  * @return EOK if succeed, negative error code otherwise.
     152 * @return EOK if succeed, error code otherwise.
    153153 *
    154154 */
     
    173173 * @param endpoint_id Destination endpoint.
    174174 *
    175  * @return EOK if succeed, negative error code otherwise.
     175 * @return EOK if succeed, error code otherwise.
    176176 *
    177177 */
     
    196196 * @param transferred_size Real size of read data.
    197197 *
    198  * @return EOK if succeed, negative error code otherwise.
     198 * @return EOK if succeed, error code otherwise.
    199199 *
    200200 */
     
    216216 * @param transferred_size Real size of read data.
    217217 *
    218  * @return EOK if succeed, negative error code otherwise.
     218 * @return EOK if succeed, error code otherwise.
    219219 *
    220220 */
     
    236236 *
    237237 * @return EOK if succeed, EINVAL when failed to connect service,
    238  *         negative error code otherwise.
     238 *         error code otherwise.
    239239 *
    240240 */
     
    309309 * @param htc_device HTC device structure.
    310310 *
    311  * @return EOK if succeed, negative error code otherwise.
     311 * @return EOK if succeed, error code otherwise.
    312312 *
    313313 */
     
    357357 * @param htc_device HTC device structure.
    358358 *
    359  * @return EOK if succeed, negative error code otherwise.
     359 * @return EOK if succeed, error code otherwise.
    360360 *
    361361 */
     
    391391 *
    392392 * @return EOK if succeed, EINVAL if response error,
    393  *         negative error code otherwise.
     393 *         error code otherwise.
    394394 *
    395395 */
     
    427427 * @param htc_device HTC device structure to be initialized.
    428428 *
    429  * @return EOK if succeed, negative error code otherwise.
     429 * @return EOK if succeed, error code otherwise.
    430430 *
    431431 */
     
    448448 * @param htc_device HTC device structure.
    449449 *
    450  * @return EOK if succeed, negative error code otherwise.
     450 * @return EOK if succeed, error code otherwise.
    451451 *
    452452 */
  • uspace/drv/nic/ar9271/hw.c

    r3c7702c0 rcde999a  
    4949 *
    5050 * @return EOK if succeed, ETIMEOUT on timeout,
    51  *         negative error code otherwise.
     51 *         error code otherwise.
    5252 *
    5353 */
     
    215215 * @param ar9271 Device structure.
    216216 *
    217  * @return EOK if succeed, negative error code otherwise.
     217 * @return EOK if succeed, error code otherwise.
    218218 *
    219219 */
     
    636636 * @param ar9271 Device structure.
    637637 *
    638  * @return EOK if succeed, negative error code otherwise.
     638 * @return EOK if succeed, error code otherwise.
    639639 */
    640640int hw_init(ar9271_t *ar9271)
  • uspace/drv/nic/ar9271/wmi.c

    r3c7702c0 rcde999a  
    4747 * @param res        Stored result.
    4848 *
    49  * @return EOK if succeed, negative error code otherwise.
     49 * @return EOK if succeed, error code otherwise.
    5050 *
    5151 */
     
    7979 * @param val        Value to be written
    8080 *
    81  * @return EOK if succeed, negative error code otherwise.
     81 * @return EOK if succeed, error code otherwise.
    8282 *
    8383 */
     
    112112 * @param clear_bit  Bit to be cleared.
    113113 *
    114  * @return EOK if succeed, negative error code otherwise.
     114 * @return EOK if succeed, error code otherwise.
    115115 *
    116116 */
     
    146146 * @param set_bit    Bit to be set.
    147147 *
    148  * @return EOK if succeed, negative error code otherwise.
     148 * @return EOK if succeed, error code otherwise.
    149149 *
    150150 */
     
    161161 * @param clear_bit  Bit to be cleared.
    162162 *
    163  * @return EOK if succeed, negative error code otherwise.
     163 * @return EOK if succeed, error code otherwise.
    164164 *
    165165 */
     
    176176 * @param elements   Number of elements in array.
    177177 *
    178  * @return EOK if succeed, negative error code otherwise.
     178 * @return EOK if succeed, error code otherwise.
    179179 *
    180180 */
     
    220220 * @param response_buffer Buffer with response data.
    221221 *
    222  * @return EOK if succeed, negative error code otherwise.
     222 * @return EOK if succeed, error code otherwise.
    223223 *
    224224 */
Note: See TracChangeset for help on using the changeset viewer.