This is a note to let you know that I've just added the patch titled NIOS2: setup.c: drop unused variable 'dram_start' to the 5.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: nios2-setup.c-drop-unused-variable-dram_start.patch and it can be found in the queue-5.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 9523b33cc31cf8ce703f8facee9fd16cba36d5ad Mon Sep 17 00:00:00 2001 From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Date: Fri, 24 Sep 2021 14:05:25 -0700 Subject: NIOS2: setup.c: drop unused variable 'dram_start' From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> commit 9523b33cc31cf8ce703f8facee9fd16cba36d5ad upstream. This is a nuisance when CONFIG_WERROR is set, so drop the variable declaration since the code that used it was removed. ../arch/nios2/kernel/setup.c: In function 'setup_arch': ../arch/nios2/kernel/setup.c:152:13: warning: unused variable 'dram_start' [-Wunused-variable] 152 | int dram_start; Fixes: 7f7bc20bc41a ("nios2: Don't use _end for calculating min_low_pfn") Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Reported-by: kernel test robot <lkp@xxxxxxxxx> Reviewed-by: Mike Rapoport <rppt@xxxxxxxxxxxxx> Cc: Andreas Oetken <andreas.oetken@xxxxxxxxxxx> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- arch/nios2/kernel/setup.c | 2 -- 1 file changed, 2 deletions(-) --- a/arch/nios2/kernel/setup.c +++ b/arch/nios2/kernel/setup.c @@ -149,8 +149,6 @@ static void __init find_limits(unsigned void __init setup_arch(char **cmdline_p) { - int dram_start; - console_verbose(); memory_start = memblock_start_of_DRAM(); Patches currently in stable-queue which might be from rdunlap@xxxxxxxxxxxxx are queue-5.14/nios2-setup.c-drop-unused-variable-dram_start.patch queue-5.14/media-s5p-jpeg-rename-jpeg-marker-constants-to-preve.patch queue-5.14/nios2-fix-kconfig-unmet-dependency-warning-for-seria.patch queue-5.14/igc-fix-build-errors-for-ptp.patch