mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 03:33:07 +07:00
87e9201108
Reviewing the delta between cppcheck output of v4.9.39 and v4.9.40
stable updates, I stumbled on the new warning:
mxl111sf.c:80: (warning) Possible null pointer dereference: rbuf
Since copying state->rcvbuf into rbuf is not needed in the 'write-only'
scenario (i.e. calling mxl111sf_ctrl_msg() from mxl111sf_i2c_send_data()
or from mxl111sf_write_reg()), bypass memcpy() in this case.
Fixes:
|
||
---|---|---|
.. | ||
af9015.c | ||
af9015.h | ||
af9035.c | ||
af9035.h | ||
anysee.c | ||
anysee.h | ||
au6610.c | ||
au6610.h | ||
az6007.c | ||
ce6230.c | ||
ce6230.h | ||
dvb_usb_common.h | ||
dvb_usb_core.c | ||
dvb_usb_urb.c | ||
dvb_usb.h | ||
dvbsky.c | ||
ec168.c | ||
ec168.h | ||
gl861.c | ||
gl861.h | ||
Kconfig | ||
lmedm04.c | ||
lmedm04.h | ||
Makefile | ||
mxl111sf-demod.c | ||
mxl111sf-demod.h | ||
mxl111sf-gpio.c | ||
mxl111sf-gpio.h | ||
mxl111sf-i2c.c | ||
mxl111sf-i2c.h | ||
mxl111sf-phy.c | ||
mxl111sf-phy.h | ||
mxl111sf-reg.h | ||
mxl111sf-tuner.c | ||
mxl111sf-tuner.h | ||
mxl111sf.c | ||
mxl111sf.h | ||
rtl28xxu.c | ||
rtl28xxu.h | ||
usb_urb.c | ||
zd1301.c |