aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2020-07-19 17:34:47 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-01 14:13:27 +0200
commit52438c4463ac904d14bf3496765e67750766f3a6 (patch)
treeb42de4b09028e3825ddd1cb32fe5f69169192dcd /tools/perf/scripts/python/exported-sql-viewer.py
parente5b95c8febd504659b60a7601fd43c0ae8e4f3c0 (diff)
media: m5mols: Check function pointer in m5mols_sensor_power
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: bc125106f8af ("[media] Add support for M-5MOLS 8 Mega Pixel camera ISP") Signed-off-by: Tom Rix <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions