summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-06 12:56:07 +0000
committerMark Brown <broonie@kernel.org>2020-05-06 15:55:14 +0100
commitdd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5 (patch)
tree827a0b77cb279d65578ceef9c837ba736cd16007 /ipc/shm.c
parent5b684514af9052fdbaa60895620f75928a134196 (diff)
downloadlwn-dd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5.tar.gz
lwn-dd4441ab1fa1e2787a5f218f92d8ead1aa5ce6b5.zip
spi: bcm2835: Fix error return code in bcm2835_dma_init()
Fix to return negative error code -ENOMEM from the dma mapping error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200506125607.90952-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions