commit | a4a9a8cb3248b3b48a6049acaeaf23d4ad3712b9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Aug 18 12:12:19 2015 +0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Aug 24 14:23:31 2015 +0200 |
tree | 00ff3228ccd05ef1f8a955614999f528fbe95493 | |
parent | 480b141abf7ffe630016dd4ced0fc57f105a05a9 [diff] |
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