diff options
author | Daniel Thompson <daniel.thompson@linaro.org> | 2022-04-26 16:34:48 +0100 |
---|---|---|
committer | Daniel Thompson <daniel.thompson@linaro.org> | 2022-04-27 11:49:35 +0100 |
commit | 9a4791991f0501aaed0ec1b3f4bbbc8950418818 (patch) | |
tree | 3f3296d12ec3aa9c0748d16f05b5d2154ad59395 /drivers/net/ethernet/intel/e1000e/hw.h | |
parent | da75c73e41fc4501a23d34ac88984389eb73dd25 (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 'drivers/net/ethernet/intel/e1000e/hw.h')
0 files changed, 0 insertions, 0 deletions