kernel-fxtec-pro1x/drivers/staging/pi433
Michael Straube 4acd5adecf staging: pi433: fix potential null dereference
[ Upstream commit 64c4c4ca6c129a4191e8e1e91b2d5d9b8d08c518 ]

Add a test for successful call to cdev_alloc() to avoid
potential null dereference. Issue reported by smatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Fixes: 874bcba65f ("staging: pi433: New driver")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:47:02 +01:00
..
Documentation staging: pi433: Fixed typos and grammar in documentation 2018-04-23 15:41:49 +02:00
Kconfig staging: pi433: use help in Kconfig description 2018-04-23 15:41:49 +02:00
Makefile
pi433_if.c staging: pi433: fix potential null dereference 2019-02-12 19:47:02 +01:00
pi433_if.h staging: pi433: Comply with 80 character column limit 2018-07-11 13:12:33 +02:00
rf69.c staging: pi433: Make only one statement per line 2018-07-11 13:12:34 +02:00
rf69.h staging: pi433: cleanup comments in rf69.h 2018-06-28 22:00:13 +09:00
rf69_enum.h staging: pi433: add SPDX-License-Identifier tag 2018-06-28 22:00:13 +09:00
rf69_registers.h staging: pi433: add SPDX-License-Identifier tag 2018-06-28 22:00:13 +09:00
TODO