Changes in uspace/drv/nic/virtio-net/virtio-net.c [3a4c6d9:56210a7a] in mainline
- File:
-
- 1 edited
-
uspace/drv/nic/virtio-net/virtio-net.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/virtio-net/virtio-net.c
r3a4c6d9 r56210a7a 428 428 } 429 429 430 rc = nic_fun_add_to_cats(fun);430 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 431 431 if (rc != EOK) { 432 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 433 ddf_fun_unbind(fun); 434 return rc; 432 ddf_msg(LVL_ERROR, "Failed adding function to category"); 433 goto unbind; 435 434 } 436 435 … … 440 439 return EOK; 441 440 442 //unbind:443 //ddf_fun_unbind(fun);441 unbind: 442 ddf_fun_unbind(fun); 444 443 destroy: 445 444 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.
