mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
52438c4463
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_capture.c | ||
m5mols_controls.c | ||
m5mols_core.c | ||
m5mols_reg.h | ||
m5mols.h | ||
Makefile |