diff options
| author | Shuah Khan <[email protected]> | 2020-06-29 20:02:23 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2020-07-06 22:11:04 +0000 |
| commit | cbf25270933742c4a6d8671bba5c79a4e879cff3 (patch) | |
| tree | 880390fadb922eb46647e3a70d267551df2ca463 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | cpupower: Fix comparing pointer to 0 coccicheck warns (diff) | |
| download | kernel-cbf25270933742c4a6d8671bba5c79a4e879cff3.tar.gz kernel-cbf25270933742c4a6d8671bba5c79a4e879cff3.zip | |
cpupower: Fix NULL but dereferenced coccicheck errors
Fix NULL but dereferenced coccicheck errors found by:
make coccicheck MODE=report M=tools/power/cpupower
tools/power/cpupower/lib/cpufreq.c:384:19-23: ERROR: first is NULL but dereferenced.
tools/power/cpupower/lib/cpufreq.c:440:19-23: ERROR: first is NULL but dereferenced.
tools/power/cpupower/lib/cpufreq.c:308:19-23: ERROR: first is NULL but dereferenced.
tools/power/cpupower/lib/cpufreq.c:753:19-23: ERROR: first is NULL but dereferenced.
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
