diff options
| author | 2015-08-18 12:12:19 +0300 | |
|---|---|---|
| committer | 2015-08-24 14:23:31 +0200 | |
| commit | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 (patch) | |
| tree | 00ff3228ccd05ef1f8a955614999f528fbe95493 /drivers/i2c/i2c-core.c | |
| parent | i2c: Replace I2C_CROS_EC_TUNNEL dependency (diff) | |
| download | linux-dev-a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9.tar.xz linux-dev-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/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions
