linux/arch/openrisc
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
..
boot openrisc: Add vmlinux.bin target 2021-01-01 14:59:57 +09:00
configs openrisc: add support for LiteX 2020-11-12 06:31:04 +09:00
include openrisc: io: Add missing __iomem annotation to iounmap() 2021-01-20 06:14:26 +09:00
kernel openrisc: Fix a memory leak 2021-04-28 21:40:44 +09:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mm openrisc: mm/init.c: remove unused memblock_region variable in map_ram() 2021-05-10 06:22:31 +09:00
Kbuild openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00
Kconfig timekeeping: default GENERIC_CLOCKEVENTS to enabled 2020-10-30 21:57:07 +01:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile openrisc: add arch/openrisc/Kbuild 2021-01-18 20:53:14 +09:00