Changeset cde999a in mainline for uspace/drv/char/ns8250/ns8250.c


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

    r3c7702c0 rcde999a  
    405405 *
    406406 * @param ns            Serial port device
    407  * @return              Zero on success, negative error number otherwise
     407 * @return              Zero on success, error number otherwise
    408408 */
    409409static int ns8250_dev_initialize(ns8250_t *ns)
     
    499499 *
    500500 * @param ns            Serial port device
    501  * @return              Zero on success, negative error number otherwise
     501 * @return              Zero on success, error number otherwise
    502502 */
    503503static int ns8250_interrupt_enable(ns8250_t *ns)
     
    544544 * @param port          The base address of the serial port device's ports.
    545545 * @param baud_rate     The baud rate to be used by the device.
    546  * @return              Zero on success, negative error number otherwise (EINVAL
     546 * @return              Zero on success, error number otherwise (EINVAL
    547547 *                      if the specified baud_rate is not valid).
    548548 */
Note: See TracChangeset for help on using the changeset viewer.