diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-18 12:12:19 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-24 15:23:31 +0300 |
commit | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 (patch) | |
tree | 00ff3228ccd05ef1f8a955614999f528fbe95493 /drivers/of | |
parent | 480b141abf7ffe630016dd4ced0fc57f105a05a9 (diff) | |
download | linux-a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9.tar.xz |
i2c: xgene-slimpro: dma_mapping_error() doesn't return an error code
The dma_mapping_error() function returns true if there is an error, it
doesn't return an error code. We should return -ENOMEM.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions