Re: [PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Larry Finger
On 11/17/2017 08:50 AM, Colin King wrote: From: Colin Ian King dev_alloc_skb can potentially return NULL, so add a null check to avoid a null pointer dereference on skb Acked-by: Larry Finger Larry Detected by CoverityScan,

Re: [PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Larry Finger
On 11/17/2017 08:50 AM, Colin King wrote: From: Colin Ian King dev_alloc_skb can potentially return NULL, so add a null check to avoid a null pointer dereference on skb Acked-by: Larry Finger Larry Detected by CoverityScan, CID#1454558 ("Dereference on null return") Fixes: 7e5b796cde7e

[PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Colin King
From: Colin Ian King 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")

[PATCH] staging: rtl8822be: fix missing null check on dev_alloc_skb return

2017-11-17 Thread Colin King
From: Colin Ian King 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 ---