* arch/nios2/kernel/setup.c:152:6: warning: Unused variable: dram_start [unusedVariable]
@ 2021-07-12 9:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-12 9:27 UTC (permalink / raw)
To: Andreas Oetken; +Cc: kbuild-all, linux-kernel, Ley Foon Tan
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1e16624d7b4376797ede36e3c955375cf0f23298
commit: 7f7bc20bc41a4fbcd2db75b375ac95e5faf958ae nios2: Don't use _end for calculating min_low_pfn
date: 5 months ago
compiler: nios2-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> arch/nios2/kernel/setup.c:152:6: warning: Unused variable: dram_start [unusedVariable]
int dram_start;
^
arch/nios2/kernel/setup.c:131:6: warning: Uninitialized variable: cmdline_passed [uninitvar]
if (cmdline_passed[0])
^
vim +152 arch/nios2/kernel/setup.c
7f7bc20bc41a4f Andreas Oetken 2021-02-19 149
27d22413e60009 Ley Foon Tan 2014-11-06 150 void __init setup_arch(char **cmdline_p)
27d22413e60009 Ley Foon Tan 2014-11-06 151 {
0042379279bcac Mike Rapoport 2018-10-26 @152 int dram_start;
:::::: The code at line 152 was first introduced by commit
:::::: 0042379279bcac871d2a60172f942a3a255ec611 nios2: switch to NO_BOOTMEM
:::::: TO: Mike Rapoport <rppt@linux.vnet.ibm.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-12 9:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-12 9:27 arch/nios2/kernel/setup.c:152:6: warning: Unused variable: dram_start [unusedVariable] kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).