mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
![]() clang static analysis reports this error
m5mols_core.c:767:4: warning: Called function pointer
is null (null dereference) [core.CallAndMessage]
info->set_power(&client->dev, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In other places, the set_power ptr is checked.
So add a check.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
m5mols.h | ||
m5mols_capture.c | ||
m5mols_controls.c | ||
m5mols_core.c | ||
m5mols_reg.h | ||
Makefile |