diff options
author | 2020-09-20 22:26:25 +0200 | |
---|---|---|
committer | 2020-09-22 17:42:22 -0500 | |
commit | 750cf40c0f7088f36a8a5d102e0488b1ac47faf5 (patch) | |
tree | 24c7b12f4a6be55dc69f8f0d8c66e3167d36fd11 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | soc: fsl: qman: fix -Wpacked-not-aligned warnings (diff) | |
download | wireguard-linux-750cf40c0f7088f36a8a5d102e0488b1ac47faf5.tar.xz wireguard-linux-750cf40c0f7088f36a8a5d102e0488b1ac47faf5.zip |
soc: fsl: qbman: Fix return value on success
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: 0505d00c8dba ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions