diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-08 06:00:56 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 15:42:40 +0300 |
commit | edd60afc3fc338c859b8a50fdc4b6e3bef0d2cec (patch) | |
tree | 64f3f98f456b17d313b3d228b48e01619bffaf54 /drivers/rapidio/rio-access.c | |
parent | 4d74c980232885df11f972c0c816f516016240dd (diff) | |
download | linux-edd60afc3fc338c859b8a50fdc4b6e3bef0d2cec.tar.xz |
dmaengine: fsl-dpaa2-qdma: Fix error return code in two functions
[ Upstream commit 17866bc6b2ae1c3075c9fe7bcbeb8ea50eb4c3fc ]
Fix to return a negative error code from the error handling case instead
of 0, as done elsewhere in the function where it is.
Fixes: 7fdf9b05c73b ("dmaengine: fsl-dpaa2-qdma: Add NXP dpaa2 qDMA controller driver for Layerscape SoCs")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210508030056.2027-1-thunder.leizhen@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/rapidio/rio-access.c')
0 files changed, 0 insertions, 0 deletions