Changeset cde999a in mainline for uspace/lib/drv


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/drv
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r3c7702c0 rcde999a  
    812812 * @param fun Function to bind
    813813 *
    814  * @return EOK on success or negative error code
     814 * @return EOK on success or an error code
    815815 *
    816816 */
     
    840840 * @param fun Function to unbind
    841841 *
    842  * @return EOK on success or negative error code
     842 * @return EOK on success or an error code
    843843 *
    844844 */
     
    861861 * @param fun Function to online
    862862 *
    863  * @return EOK on success or negative error code
     863 * @return EOK on success or an error code
    864864 *
    865865 */
     
    879879 * @param fun Function to offline
    880880 *
    881  * @return EOK on success or negative error code
     881 * @return EOK on success or an error code
    882882 *
    883883 */
  • uspace/lib/drv/generic/remote_battery_dev.c

    r3c7702c0 rcde999a  
    4545 * @param status   Current status of the battery
    4646 *
    47  * @return         EOK on success or a negative error code
     47 * @return         EOK on success or an error code
    4848 */
    4949int
     
    7070 * @param level    Battery charge level (0 - 100)
    7171 *
    72  * @return         EOK on success or a negative error code
     72 * @return         EOK on success or an error code
    7373 */
    7474int
  • uspace/lib/drv/generic/remote_ieee80211.c

    r3c7702c0 rcde999a  
    5959 *
    6060 * @return EOK If the operation was successfully completed,
    61  *         negative error code otherwise.
     61 *         error code otherwise.
    6262 *
    6363 */
     
    123123 *
    124124 * @return EOK If the operation was successfully completed,
    125  *         negative error code otherwise.
     125 *         error code otherwise.
    126126 *
    127127 */
     
    190190 *
    191191 * @return EOK If the operation was successfully completed,
    192  *         negative error code otherwise.
     192 *         error code otherwise.
    193193 *
    194194 */
  • uspace/lib/drv/generic/remote_usbhid.c

    r3c7702c0 rcde999a  
    9494 * @param dev_sess Session to DDF device providing USB HID interface.
    9595 *
    96  * @return Number of usages returned or negative error code.
     96 * @return Number of usages returned or an error code.
    9797 *
    9898 */
  • uspace/lib/drv/include/ops/ieee80211.h

    r3c7702c0 rcde999a  
    4848         * @param now     Whether to initiate scan immediately.
    4949         *
    50          * @return EOK if succeed, negative error code otherwise.
     50         * @return EOK if succeed, error code otherwise.
    5151         *
    5252         */
     
    5959         * @param password Network password (empty string if not needed).
    6060         *
    61          * @return EOK if succeed, negative error code otherwise.
     61         * @return EOK if succeed, error code otherwise.
    6262         *
    6363         */
     
    6868         * @param fun IEEE 802.11 function.
    6969         *
    70          * @return EOK if succeed, negative error code otherwise.
     70         * @return EOK if succeed, error code otherwise.
    7171         *
    7272         */
Note: See TracChangeset for help on using the changeset viewer.