summaryrefslogtreecommitdiff
path: root/drivers/staging/pi433/rf69_registers.h
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2018-11-25 10:22:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-26 20:59:05 +0100
commit64c4c4ca6c129a4191e8e1e91b2d5d9b8d08c518 (patch)
tree045328ec356d453a8feffa414c009e646784ffc5 /drivers/staging/pi433/rf69_registers.h
parent2a68ead3de431924d22997f121ae30aa0f99f356 (diff)
staging: pi433: fix potential null dereference
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: 874bcba65f9a ("staging: pi433: New driver") Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/pi433/rf69_registers.h')
0 files changed, 0 insertions, 0 deletions