tree: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git testing head: fb903d9dd099da7430dc653a99670d6f2676daf6 commit: 6e2e5d9394a30805514cd15a078ad361ac68c50b [5/11] nios2: Only use built-in devicetree blob if configured to do so config: nios2-allnoconfig (https://download.01.org/0day-ci/archive/20240322/202403221428.i3uDsXt4-lkp@xxxxxxxxx/config) compiler: nios2-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240322/202403221428.i3uDsXt4-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202403221428.i3uDsXt4-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): arch/nios2/kernel/prom.c: In function 'early_init_devtree': >> arch/nios2/kernel/prom.c:24:17: warning: unused variable 'dtb' [-Wunused-variable] 24 | __be32 *dtb = (u32 *)__dtb_start; | ^~~ vim +/dtb +24 arch/nios2/kernel/prom.c 95acd4c7b69c9b Ley Foon Tan 2014-11-06 21 95acd4c7b69c9b Ley Foon Tan 2014-11-06 22 void __init early_init_devtree(void *params) 95acd4c7b69c9b Ley Foon Tan 2014-11-06 23 { 95acd4c7b69c9b Ley Foon Tan 2014-11-06 @24 __be32 *dtb = (u32 *)__dtb_start; 95acd4c7b69c9b Ley Foon Tan 2014-11-06 25 #if defined(CONFIG_NIOS2_DTB_AT_PHYS_ADDR) 95acd4c7b69c9b Ley Foon Tan 2014-11-06 26 if (be32_to_cpup((__be32 *)CONFIG_NIOS2_DTB_PHYS_ADDR) == 95acd4c7b69c9b Ley Foon Tan 2014-11-06 27 OF_DT_HEADER) { 95acd4c7b69c9b Ley Foon Tan 2014-11-06 28 params = (void *)CONFIG_NIOS2_DTB_PHYS_ADDR; 95acd4c7b69c9b Ley Foon Tan 2014-11-06 29 early_init_dt_scan(params); 95acd4c7b69c9b Ley Foon Tan 2014-11-06 30 return; 95acd4c7b69c9b Ley Foon Tan 2014-11-06 31 } 95acd4c7b69c9b Ley Foon Tan 2014-11-06 32 #endif 6e2e5d9394a308 Guenter Roeck 2024-03-21 33 :::::: The code at line 24 was first introduced by commit :::::: 95acd4c7b69c9b250d901d154390ec4c8b7b51c1 nios2: Device tree support :::::: TO: Ley Foon Tan <lftan@xxxxxxxxxx> :::::: CC: Ley Foon Tan <lftan@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki