aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/ibmvnic.c
diff options
context:
space:
mode:
authorOmar Sandoval <[email protected]>2017-08-22 23:45:59 -0700
committerDavid Sterba <[email protected]>2017-08-24 17:19:02 +0200
commit58efbc9f5463308c43d812fd0748a4dee44c8a16 (patch)
tree400bd7ce429cf0ef769c3736dcb153f28dfdbcee /drivers/net/ethernet/ibm/ibmvnic.c
parent14ccee78fc82f5512908f4424f541549a5705b89 (diff)
Btrfs: fix blk_status_t/errno confusion
This fixes several instances of blk_status_t and bare errno ints being mixed up, some of which are real bugs. In the normal case, 0 matches BLK_STS_OK, so we don't observe any effects of the missing conversion, but in case of errors or passes through the repair/retry paths, the errors get mixed up. The changes were identified using 'sparse', we don't have reports of the buggy behaviour. Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") Signed-off-by: Omar Sandoval <[email protected]> Reviewed-by: Liu Bo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmvnic.c')
0 files changed, 0 insertions, 0 deletions