diff options
author | 2024-10-29 19:27:12 +0100 | |
---|---|---|
committer | 2024-11-19 10:47:37 +0100 | |
commit | 2c87309ea741341c6722efdf1fb3f50dd427c823 (patch) | |
tree | bee1b529c2d89ba84d633c3aaba4aed8d3b3f3c5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'bpf-fix-recursive-lock-and-add-test' (diff) | |
download | wireguard-linux-2c87309ea741341c6722efdf1fb3f50dd427c823.tar.xz wireguard-linux-2c87309ea741341c6722efdf1fb3f50dd427c823.zip |
ieee802154: ca8210: Add missing check for kfifo_alloc() in ca8210_probe()
ca8210_test_interface_init() returns the result of kfifo_alloc(),
which can be non-zero in case of an error. The caller, ca8210_probe(),
should check the return value and do error-handling if it fails.
Fixes: ded845a781a5 ("ieee802154: Add CA8210 IEEE 802.15.4 device driver")
Signed-off-by: Keisuke Nishimura <keisuke.nishimura@inria.fr>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/20241029182712.318271-1-keisuke.nishimura@inria.fr
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions