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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201509281303.5hjLVTJZ%fengguang.wu@intel.com>
Date:	Mon, 28 Sep 2015 14:02:03 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Rasmus Villemoes <linux@...musvillemoes.dk>
Cc:	kbuild-all@...org, Thomas Gleixner <tglx@...utronix.de>,
	Oleg Nesterov <oleg@...hat.com>,
	"Paul E. McKenney" <paulmck@...ux.vnet.ibm.com>,
	Rusty Russell <rusty@...tcorp.com.au>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"K. Y. Srinivasan" <kys@...rosoft.com>,
	"Peter Zijlstra (Intel)" <peterz@...radead.org>,
	Vitaly Kuznetsov <vkuznets@...hat.com>,
	Mathias Krause <minipli@...glemail.com>,
	Rasmus Villemoes <linux@...musvillemoes.dk>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/5] kernel/cpu.c: eliminate cpu_*_mask

Hi Rasmus,

[auto build test results on v4.3-rc2 -- if it's inappropriate base, please ignore]

config: powerpc-allyesconfig (attached as .config)
reproduce:
  wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
  chmod +x ~/bin/make.cross
  git checkout c14fd9e74ebf7540e312ff440343f9843917ec66
  # save the attached .config to linux build tree
  make.cross ARCH=powerpc 

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

   In file included from include/linux/rcupdate.h:40:0,
                    from include/linux/idr.h:18,
                    from include/linux/kernfs.h:14,
                    from include/linux/sysfs.h:15,
                    from include/linux/kobject.h:21,
                    from include/linux/pci.h:28,
                    from arch/powerpc/kernel/prom.c:25:
>> include/linux/cpumask.h:93:29: error: expected identifier or '(' before 'const'
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                                ^
>> arch/powerpc/include/asm/fadump.h:194:17: note: in expansion of macro 'cpu_online_mask'
     struct cpumask cpu_online_mask;
                    ^
>> include/linux/cpumask.h:93:52: error: expected ')' before '&' token
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                                                       ^
>> arch/powerpc/include/asm/fadump.h:194:17: note: in expansion of macro 'cpu_online_mask'
     struct cpumask cpu_online_mask;
                    ^
   In file included from arch/powerpc/kernel/prom.c:56:0:
>> arch/powerpc/include/asm/fadump.h:195:1: warning: no semicolon at end of struct or union
    };
    ^
--
   In file included from include/linux/rcupdate.h:40:0,
                    from include/linux/srcu.h:33,
                    from include/linux/notifier.h:15,
                    from include/linux/memory_hotplug.h:6,
                    from include/linux/mmzone.h:812,
                    from include/linux/gfp.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/memblock.h:18,
                    from arch/powerpc/kernel/fadump.c:31:
>> include/linux/cpumask.h:93:29: error: expected identifier or '(' before 'const'
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                                ^
>> arch/powerpc/include/asm/fadump.h:194:17: note: in expansion of macro 'cpu_online_mask'
     struct cpumask cpu_online_mask;
                    ^
>> include/linux/cpumask.h:93:52: error: expected ')' before '&' token
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                                                       ^
>> arch/powerpc/include/asm/fadump.h:194:17: note: in expansion of macro 'cpu_online_mask'
     struct cpumask cpu_online_mask;
                    ^
   In file included from arch/powerpc/kernel/fadump.c:42:0:
>> arch/powerpc/include/asm/fadump.h:195:1: warning: no semicolon at end of struct or union
    };
    ^
   In file included from include/linux/rcupdate.h:40:0,
                    from include/linux/srcu.h:33,
                    from include/linux/notifier.h:15,
                    from include/linux/memory_hotplug.h:6,
                    from include/linux/mmzone.h:812,
                    from include/linux/gfp.h:5,
                    from include/linux/mm.h:9,
                    from include/linux/memblock.h:18,
                    from arch/powerpc/kernel/fadump.c:31:
   arch/powerpc/kernel/fadump.c: In function 'crash_fadump':
>> include/linux/cpumask.h:93:27: error: expected identifier before '(' token
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                              ^
>> arch/powerpc/kernel/fadump.c:418:7: note: in expansion of macro 'cpu_online_mask'
     fdh->cpu_online_mask = *cpu_online_mask;
          ^
   arch/powerpc/kernel/fadump.c: In function 'fadump_build_cpu_notes':
>> include/linux/cpumask.h:93:27: error: expected identifier before '(' token
    #define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
                              ^
   arch/powerpc/kernel/fadump.c:649:43: note: in expansion of macro 'cpu_online_mask'
      if (fdh && !cpumask_test_cpu(cpu, &fdh->cpu_online_mask)) {
                                              ^

vim +93 include/linux/cpumask.h

    87	
    88	extern struct cpumask __cpu_possible_mask;
    89	extern struct cpumask __cpu_online_mask;
    90	extern struct cpumask __cpu_present_mask;
    91	extern struct cpumask __cpu_active_mask;
    92	#define cpu_possible_mask ((const struct cpumask *)&__cpu_possible_mask)
  > 93	#define cpu_online_mask   ((const struct cpumask *)&__cpu_online_mask)
    94	#define cpu_present_mask  ((const struct cpumask *)&__cpu_present_mask)
    95	#define cpu_active_mask   ((const struct cpumask *)&__cpu_active_mask)
    96	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (46370 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ