aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAditya Pakki <[email protected]>2019-12-15 09:34:08 -0600
committerJohannes Berg <[email protected]>2019-12-16 10:15:49 +0100
commit6fc232db9e8cd50b9b83534de9cd91ace711b2d7 (patch)
treebd8372886f47dbe86bd837f5ad794d2d545544f2 /scripts/bpf_helpers_doc.py
parent911bde0fe5ccd7e55760be9d6dcc67a8850fcc12 (diff)
rfkill: Fix incorrect check to avoid NULL pointer dereference
In rfkill_register, the struct rfkill pointer is first derefernced and then checked for NULL. This patch removes the BUG_ON and returns an error to the caller in case rfkill is NULL. Signed-off-by: Aditya Pakki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions