linux/drivers/soc/fsl/qbman
Krzysztof Kozlowski 55a7acbc04 soc: fsl: qbman: Fix return value on success
[ Upstream commit 750cf40c0f ]

On error the function was meant to return -ERRNO.  This also fixes
compile warning:

  drivers/soc/fsl/qbman/bman.c:640:6: warning: variable 'err' set but not used [-Wunused-but-set-variable]

Fixes: 0505d00c8d ("soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:59 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ARM: SoC driver updates for v4.15 2017-11-16 16:05:01 -08:00
bman.c soc: fsl: qbman: Fix return value on success 2020-10-29 09:57:59 +01:00
bman_ccsr.c soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_portal.c soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_priv.h soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup 2019-08-15 16:41:42 -05:00
bman_test.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test.h soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
bman_test_api.c soc/bman: Add self-test for BMan driver 2016-09-25 02:38:59 -05:00
dpaa_sys.c soc/fsl/qbman: Update device tree with reserved memory 2019-08-15 16:42:00 -05:00
dpaa_sys.h soc: fsl: qbman: Check if CPU is offline when initializing portals 2018-10-05 14:01:46 -05:00
qman.c soc/fsl/qbman: Fixup qman_shutdown_fq() 2019-08-15 16:41:56 -05:00
qman_ccsr.c soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_portal.c soc/fsl/qbman: Cleanup QMan queues if device was already initialized 2019-08-15 16:41:47 -05:00
qman_priv.h soc/fsl/qbman: Disable interrupts during portal recovery 2019-08-15 16:41:53 -05:00
qman_test.c soc/qman: Add self-test for QMan driver 2016-09-25 02:39:00 -05:00
qman_test.h soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations 2017-09-22 13:33:07 -05:00
qman_test_api.c soc/qman: Handle endianness of h/w descriptors 2016-11-23 21:01:25 -06:00
qman_test_stash.c soc/fsl/qman: test: use DEFINE_SPINLOCK() 2016-12-09 23:08:52 -06:00