Changeset 0472cf17 in mainline for uspace/drv/nic/rtl8169/driver.c


Ignore:
Timestamp:
2024-10-13T08:23:43Z (3 months ago)
Author:
GitHub <noreply@…>
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)
Message:

Merge ebb1489dc508fcf7406914b8e8bb9bdb6b23f5b5 into b3b79981fde01c701df88e2e0c5bb93f62cdcf42

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/nic/rtl8169/driver.c

    rb3b79981 r0472cf17  
    458458        }
    459459
    460         rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC);
     460        rc = nic_fun_add_to_cats(fun);
    461461        if (rc != EOK) {
    462                 ddf_msg(LVL_ERROR, "Failed adding function to category");
    463                 goto err_fun_bind;
     462                ddf_msg(LVL_ERROR, "Failed adding function to categories");
     463                ddf_fun_unbind(fun);
     464                return rc;
    464465        }
    465466
     
    468469        return EOK;
    469470
    470 err_fun_bind:
    471         ddf_fun_unbind(fun);
     471        // err_fun_bind:
     472        // ddf_fun_unbind(fun);
    472473err_fun_create:
    473474        ddf_fun_destroy(fun);
Note: See TracChangeset for help on using the changeset viewer.