Changeset cde999a in mainline for uspace/drv/nic/rtl8139/driver.c


Ignore:
Timestamp:
2018-01-04T20:22:51Z (6 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/rtl8139/driver.c

    r3c7702c0 rcde999a  
    217217 *  @param address  The place to store the address
    218218 *
    219  *  @return EOK if succeed, negative error code otherwise
     219 *  @return EOK if succeed, error code otherwise
    220220 */
    221221inline static void rtl8139_hw_get_addr(rtl8139_t *rtl8139,
     
    844844 *  @param[out] handle  IRQ capability handle if the handler was registered.
    845845 *
    846  *  @return Negative error code otherwise.
     846 *  @return An error code otherwise.
    847847 */
    848848inline static int rtl8139_register_int_handler(nic_t *nic_data, cap_handle_t *handle)
     
    10251025 *  @param hw_resources  Devices hardware resources
    10261026 *
    1027  *  @return EOK if succeed, negative error code otherwise
     1027 *  @return EOK if succeed, error code otherwise
    10281028 */
    10291029static int rtl8139_fill_resource_info(ddf_dev_t *dev, const hw_res_list_parsed_t
     
    10651065 *  @param dev  The device structure
    10661066 *
    1067  *  @return EOK if succeed, negative error code otherwise
     1067 *  @return EOK if succeed, error code otherwise
    10681068 */
    10691069static int rtl8139_get_resource_info(ddf_dev_t *dev)
     
    11471147 *  @param dev  The device information
    11481148 *
    1149  *  @return EOK if succeed, negative error code otherwise
     1149 *  @return EOK if succeed, error code otherwise
    11501150 */
    11511151static int rtl8139_device_initialize(ddf_dev_t *dev)
     
    12061206 * @param dev  The RTL8139 device.
    12071207 *
    1208  * @return EOK if successed, negative error code otherwise
     1208 * @return EOK if successed, error code otherwise
    12091209 */
    12101210static int rtl8139_pio_enable(ddf_dev_t *dev)
     
    12561256 * @param dev  The RTL8139 device.
    12571257 *
    1258  * @return EOK if added successfully, negative error code otherwise
     1258 * @return EOK if added successfully, error code otherwise
    12591259 */
    12601260int rtl8139_dev_add(ddf_dev_t *dev)
     
    13391339 *  @param max_len  Maximal addresss length to store
    13401340 *
    1341  *  @return EOK if succeed, negative error code otherwise
     1341 *  @return EOK if succeed, error code otherwise
    13421342 */
    13431343static int rtl8139_set_addr(ddf_fun_t *fun, const nic_address_t *addr)
Note: See TracChangeset for help on using the changeset viewer.