Changeset 132ab5d1 in mainline for uspace/lib/drv/generic/driver.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

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

    r8bfb163 r132ab5d1  
    204204       
    205205        dev_del_ref(dev);
    206         async_answer_0(iid, (sysarg_t) rc);
     206        async_answer_0(iid, rc);
    207207}
    208208
     
    237237       
    238238        dev_del_ref(dev);
    239         async_answer_0(iid, (sysarg_t) rc);
     239        async_answer_0(iid, rc);
    240240}
    241241
     
    272272        fun_del_ref(fun);
    273273       
    274         async_answer_0(iid, (sysarg_t) rc);
     274        async_answer_0(iid, rc);
    275275}
    276276
     
    305305                rc = ENOTSUP;
    306306       
    307         async_answer_0(iid, (sysarg_t) rc);
     307        async_answer_0(iid, rc);
    308308}
    309309
     
    822822 * @param fun Function to bind
    823823 *
    824  * @return EOK on success or negative error code
     824 * @return EOK on success or an error code
    825825 *
    826826 */
     
    850850 * @param fun Function to unbind
    851851 *
    852  * @return EOK on success or negative error code
     852 * @return EOK on success or an error code
    853853 *
    854854 */
     
    871871 * @param fun Function to online
    872872 *
    873  * @return EOK on success or negative error code
     873 * @return EOK on success or an error code
    874874 *
    875875 */
     
    889889 * @param fun Function to offline
    890890 *
    891  * @return EOK on success or negative error code
     891 * @return EOK on success or an error code
    892892 *
    893893 */
Note: See TracChangeset for help on using the changeset viewer.