Changeset 0472cf17 in mainline for uspace/drv/nic/rtl8139/driver.c
- Timestamp:
- 2024-10-13T08:23:43Z (2 months ago)
- Parents:
- b3b79981 (diff), ebb1489 (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:43)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/nic/rtl8139/driver.c
rb3b79981 r0472cf17 42 42 #include <stdio.h> 43 43 #include <str.h> 44 #include <pcapdump_iface.h> 44 45 45 46 #include "defs.h" … … 1305 1306 goto err_fun_create; 1306 1307 } 1307 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 1308 1309 rc = nic_fun_add_to_cats(fun); 1308 1310 if (rc != EOK) { 1309 ddf_msg(LVL_ERROR, "Failed adding function to category"); 1310 goto err_fun_bind; 1311 ddf_msg(LVL_ERROR, "Failed adding function to categories"); 1312 ddf_fun_unbind(fun); 1313 return rc; 1311 1314 } 1312 1315 … … 1316 1319 return EOK; 1317 1320 1318 err_fun_bind:1319 ddf_fun_unbind(fun);1321 // err_fun_bind: 1322 // ddf_fun_unbind(fun); 1320 1323 err_fun_create: 1321 1324 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.