diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-08-18 11:12:19 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-24 14:23:31 +0200 |
commit | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 (patch) | |
tree | 00ff3228ccd05ef1f8a955614999f528fbe95493 /drivers/of | |
parent | i2c: Replace I2C_CROS_EC_TUNNEL dependency (diff) | |
download | linux-a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9.tar.xz linux-a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9.zip |
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