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


Ignore:
Timestamp:
2011-04-03T11:17:45Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
106743d
Parents:
10eb754 (diff), b2a081ae (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 mainline changes

File:
1 edited

Legend:

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

    r10eb754 rf3e2663  
    273273       
    274274        res = driver->driver_ops->add_device(dev);
    275         if (res == EOK) {
    276                 printf("%s: new device with handle=%" PRIun " was added.\n",
    277                     driver->name, dev_handle);
    278         } else {
    279                 printf("%s: failed to add a new device with handle = %" PRIun ".\n",
    280                     driver->name, dev_handle);
     275        if (res != EOK)
    281276                delete_device(dev);
    282         }
    283277       
    284278        async_answer_0(iid, res);
     
    408402                            get_remote_method(rem_iface, iface_method_idx);
    409403                        if (iface_method_ptr == NULL) {
    410                                 // the interface has not such method
     404                                /* The interface has not such method */
    411405                                printf("%s: driver_connection_gen error - "
    412406                                    "invalid interface method.", driver->name);
Note: See TracChangeset for help on using the changeset viewer.