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


Ignore:
Timestamp:
2017-12-20T22:25:34Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
39b54fe
Parents:
8610c2c
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:22:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-20 22:25:34)
Message:

"Obviously harmless" error handling tweaks.

File:
1 edited

Legend:

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

    r8610c2c rd5c1051  
    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.