mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [paulmck-rcu:dev.2023.07.26a 16/28] include/linux/init.h:149:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ro_after_init'
@ 2023-07-29 20:10 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-29 20:10 UTC (permalink / raw)
  To: Paul E. McKenney
  Cc: oe-kbuild-all, linux-kernel, Arnd Bergmann, Nick Desaulniers

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2023.07.26a
head:   709a917710dc01798e01750ea628ece4bfc42b7b
commit: de2f542cfbec295ac0f9b6a832d7b3ba20df391f [16/28] fs/proc: Add /proc/cmdline_load for boot loader arguments
config: parisc64-alldefconfig (https://download.01.org/0day-ci/archive/20230730/202307300438.iREjlfde-lkp@intel.com/config)
compiler: hppa-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230730/202307300438.iREjlfde-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307300438.iREjlfde-lkp@intel.com/

Note: the paulmck-rcu/dev.2023.07.26a HEAD 709a917710dc01798e01750ea628ece4bfc42b7b builds fine.
      It only hurts bisectability.

All error/warnings (new ones prefixed by >>):

   In file included from arch/parisc/include/asm/alternative.h:18,
                    from arch/parisc/include/asm/cache.h:9,
                    from include/linux/cache.h:6,
                    from include/linux/jiffies.h:5,
                    from init/calibrate.c:8:
>> include/linux/init.h:149:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ro_after_init'
     149 | extern char boot_command_line[] __ro_after_init;
         |                                 ^~~~~~~~~~~~~~~
--
   In file included from arch/parisc/include/asm/page.h:23,
                    from include/linux/generic-radix-tree.h:39,
                    from lib/generic-radix-tree.c:3:
>> arch/parisc/include/asm/cache.h:23: warning: "ARCH_DMA_MINALIGN" redefined
      23 | #define ARCH_DMA_MINALIGN       L1_CACHE_BYTES
         | 
   In file included from include/linux/init.h:116,
                    from arch/parisc/include/asm/alternative.h:18,
                    from arch/parisc/include/asm/cache.h:9:
   include/linux/cache.h:104: note: this is the location of the previous definition
     104 | #define ARCH_DMA_MINALIGN __alignof__(unsigned long long)
         | 
>> arch/parisc/include/asm/cache.h:25: warning: "__read_mostly" redefined
      25 | #define __read_mostly __section(".data..read_mostly")
         | 
   include/linux/cache.h:28: note: this is the location of the previous definition
      28 | #define __read_mostly
         | 


vim +149 include/linux/init.h

   146	
   147	/* Defined in init/main.c */
   148	extern int do_one_initcall(initcall_t fn);
 > 149	extern char boot_command_line[] __ro_after_init;
   150	extern char *saved_command_line;
   151	extern unsigned int saved_command_line_len;
   152	extern unsigned int reset_devices;
   153	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-29 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-29 20:10 [paulmck-rcu:dev.2023.07.26a 16/28] include/linux/init.h:149:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ro_after_init' 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

all inboxes | Powered by JetHome®