diff options
author | Mike Rapoport <rppt@linux.ibm.com> | 2021-05-09 12:11:02 +0300 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2021-05-10 06:22:31 +0900 |
commit | 4eff124347191d1548eb4e14e20e77513dcbd0fe (patch) | |
tree | 457a3382236b0c5121fa9a9e4d783acefcdd4ff6 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c019d92457826bb7b2091c86f36adb5de08405f9 (diff) |
openrisc: mm/init.c: remove unused memblock_region variable in map_ram()
Kernel test robot reports:
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> arch/openrisc/mm/init.c:125:10: warning: Uninitialized variable: region [uninitvar]
region->base, region->base + region->size);
^
Replace usage of memblock_region fields with 'start' and 'end' variables
that are initialized in for_each_mem_range() and remove the declaration of
region.
Fixes: b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions