Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/src/nic_driver.c

    rcde999a r2fd26bb  
    241241 * @param[out]  resources       Parsed lists of resources.
    242242 *
    243  * @return EOK or an error code
     243 * @return EOK or negative error code
    244244 */
    245245int nic_get_resources(nic_t *nic_data, hw_res_list_parsed_t *resources)
     
    521521        fibril_rwlock_read_lock(&nic_data->rxc_lock);
    522522        nic_frame_type_t frame_type;
    523         bool check = nic_rxc_check(&nic_data->rx_control, frame->data,
     523        int check = nic_rxc_check(&nic_data->rx_control, frame->data,
    524524            frame->size, &frame_type);
    525525        fibril_rwlock_read_unlock(&nic_data->rxc_lock);
     
    10921092                fibril_rwlock_read_unlock(&nic->main_lock);
    10931093        }
    1094         return EOK;
     1094        return 0;
    10951095}
    10961096
Note: See TracChangeset for help on using the changeset viewer.