mirror of https://gitee.com/openkylin/linux.git
ac9c41d5a0
Smatch complains that the NULL checking isn't done consistently:
net/ethtool/strset.c:253 strset_prepare_data()
error: we previously assumed 'dev' could be null (see line 233)
It looks like there is a missing return on this path.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
bitset.c | ||
bitset.h | ||
common.c | ||
common.h | ||
ioctl.c | ||
linkinfo.c | ||
linkmodes.c | ||
linkstate.c | ||
netlink.c | ||
netlink.h | ||
strset.c |