[PATCH v3] staging: ks7010: Add null pointer check for skb

Dan Carpenter dan.carpenter at oracle.com
Fri Sep 28 08:16:01 UTC 2018


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



More information about the devel mailing list