Changeset e89a06a in mainline for uspace/srv/net/ethip/ethip_nic.c


Ignore:
Timestamp:
2018-07-06T22:13:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be0f5e4
Parents:
6419c6e
Message:

Encapsulate partitions list in volume server. (Global state is not good coding practice.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/ethip/ethip_nic.c

    r6419c6e re89a06a  
    224224}
    225225
    226 static void ethip_nic_cat_change_cb(void)
     226static void ethip_nic_cat_change_cb(void *arg)
    227227{
    228228        (void) ethip_nic_check_new();
     
    323323errno_t ethip_nic_discovery_start(void)
    324324{
    325         errno_t rc = loc_register_cat_change_cb(ethip_nic_cat_change_cb);
     325        errno_t rc = loc_register_cat_change_cb(ethip_nic_cat_change_cb, NULL);
    326326        if (rc != EOK) {
    327327                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering callback for NIC "
Note: See TracChangeset for help on using the changeset viewer.