lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Mon, 12 Jul 2021 17:27:44 +0800
From:   kernel test robot <rong.a.chen@...el.com>
To:     Andreas Oetken <andreas.oetken@...mens.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Ley Foon Tan <ley.foon.tan@...el.com>
Subject: arch/nios2/kernel/setup.c:152:6: warning: Unused variable:
 dram_start [unusedVariable]

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@...el.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@...ux.vnet.ibm.com>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ