diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-08-24 15:47:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-08-26 01:41:00 +0200 |
commit | 0e87203af470d5c169cbe89df4e98ed256107038 (patch) | |
tree | bf0e63764c85e345b9296a9c7f1c051910abd6df /tools | |
parent | ibmvnic: convert to use simple_open() (diff) | |
download | linux-0e87203af470d5c169cbe89df4e98ed256107038.tar.xz linux-0e87203af470d5c169cbe89df4e98ed256107038.zip |
ibmvnic: fix error return code in ibmvnic_probe()
Fix to return error code -ENOMEM from the dma_map_single error
handling case instead of 0, as done elsewhere in this function.
Fixes: 032c5e82847a ("Driver for IBM System i/p VNIC protocol")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions