Changeset 132ab5d1 in mainline for uspace/lib/nic/src/nic_driver.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (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.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

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

    r8bfb163 r132ab5d1  
    241241 * @param[out]  resources       Parsed lists of resources.
    242242 *
    243  * @return EOK or negative error code
     243 * @return EOK or an 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         int check = nic_rxc_check(&nic_data->rx_control, frame->data,
     523        bool 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 0;
     1094        return EOK;
    10951095}
    10961096
Note: See TracChangeset for help on using the changeset viewer.