diff options
| author | Colin Ian King <[email protected]> | 2017-11-17 14:50:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-28 14:20:50 +0100 |
| commit | 3eb23426e1749a0483bc4c9b18e51f657569e3ed (patch) | |
| tree | 7d8b6cfe52f417cc5e1d887fa7df79750b391e00 /tools/perf/scripts/python | |
| parent | dcfe023858d94fc608cdec77910105ad7b8d6cce (diff) | |
staging: rtl8822be: fix missing null check on dev_alloc_skb return
dev_alloc_skb can potentially return NULL, so add a null check to
avoid a null pointer dereference on skb
Detected by CoverityScan, CID#1454558 ("Dereference on null return")
Fixes: 7e5b796cde7e ("staging: r8822be: Add the driver code")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions