linux/arch/openrisc/mm
Mike Rapoport 4eff124347 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: b10d6bca87 ("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>
2021-05-10 06:22:31 +09:00
..
cache.c openrisc: Fix cache API compile issue when not inlining 2020-09-07 21:02:15 +09:00
fault.c mm/openrisc: use general page fault accounting 2020-08-12 10:58:03 -07:00
init.c openrisc: mm/init.c: remove unused memblock_region variable in map_ram() 2021-05-10 06:22:31 +09:00
ioremap.c openrisc: io: Add missing __iomem annotation to iounmap() 2021-01-20 06:14:26 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
tlb.c openrisc: Implement proper SMP tlb flushing 2020-08-04 10:59:45 +09:00