Re: [PATCH v3] staging: ks7010: Add null pointer check for skb
From: Dan Carpenter
Date: Fri Sep 28 2018 - 04:16:20 EST
Btw, if you have the cross function DB built then Smatch says that the
NULL check can be removed here no problem.
$ smdb hostif_data_request
[ snip ]
drivers/staging/ks7010/ks_wlan_net.c | ks_wlan_start_xmit | hostif_data_request | PARAM_VALUE | 1 | skb | s64min-(-1),1-s64max
regards,
dan carpenter