Changeset cde999a in mainline for uspace/lib/nic


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/lib/nic
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/include/nic.h

    r3c7702c0 rcde999a  
    8787/**
    8888 * The handler for transitions between driver states.
    89  * If the handler returns negative error code, the transition between
     89 * If the handler returns error code, the transition between
    9090 * states is canceled (the state is not changed).
    9191 *
     
    9393 *
    9494 * @return EOK  If everything is all right.
    95  * @return negative error code on error.
     95 * @return error code on error.
    9696 */
    9797typedef int (*state_change_handler)(nic_t *);
  • uspace/lib/nic/src/nic_driver.c

    r3c7702c0 rcde999a  
    241241 * @param[out]  resources       Parsed lists of resources.
    242242 *
    243  * @return EOK or negative error code
     243 * @return EOK or an error code
    244244 */
    245245int nic_get_resources(nic_t *nic_data, hw_res_list_parsed_t *resources)
  • uspace/lib/nic/src/nic_impl.c

    r3c7702c0 rcde999a  
    189189 * @param       fun
    190190 *
    191  * @return EOK          On success, or negative error code.
     191 * @return EOK          On success, or an error code.
    192192 */
    193193int nic_callback_create_impl(ddf_fun_t *fun)
Note: See TracChangeset for help on using the changeset viewer.