aboutsummaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/hw-vuln
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2022-04-26 16:34:48 +0100
committerDaniel Thompson <daniel.thompson@linaro.org>2022-04-27 11:49:35 +0100
commit9a4791991f0501aaed0ec1b3f4bbbc8950418818 (patch)
tree3f3296d12ec3aa9c0748d16f05b5d2154ad59395 /Documentation/admin-guide/hw-vuln
parentda75c73e41fc4501a23d34ac88984389eb73dd25 (diff)
[RFC] energy_model.h: Fix a false-positive clang-analyzer report
Currently clang-analyzer reports a false positive on em_pd_get_efficient_state() because is assumes that having an empty OPP table is legitimate. It is not... and this is checked by the corresponding table parsers. Add an ASSUME() macro to guide analyzers away from this code path. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Diffstat (limited to 'Documentation/admin-guide/hw-vuln')
0 files changed, 0 insertions, 0 deletions