mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
30f96b2cb7
Pointer item is checked fo NULL at mlxreg_hotplug_work_helper() and then
it is dereferenced to produce dev_err().
This pointer is also dereferenced before calling this function and should
never be NULL except some piece of hardware is broken as it is said in
the comment before the check. So, this check can be safely removed.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mlxbf-bootctl.c | ||
mlxbf-bootctl.h | ||
mlxbf-pmc.c | ||
mlxbf-tmfifo-regs.h | ||
mlxbf-tmfifo.c | ||
mlxreg-hotplug.c | ||
mlxreg-io.c | ||
mlxreg-lc.c | ||
nvsw-sn2201.c |