mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [peterz-queue:x86/wip.ibt 7/15] arch/x86/kernel/setup.c:65:1: warning: 'nocf_check' attribute ignored. Use '-fcf-protection' option to enable it
@ 2021-12-02 21:38 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-02 21:38 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/wip.ibt
head:   a2453d618b87ec61000fecf66dee9cbd109e2e50
commit: d7103a390456460fd2b7d93081cd64b3e55c10f9 [7/15] x86: Don't generate ENDBR in .discard.text
config: i386-randconfig-m021-20211202 (https://download.01.org/0day-ci/archive/20211203/202112030528.CvcSEK5l-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=d7103a390456460fd2b7d93081cd64b3e55c10f9
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue x86/wip.ibt
        git checkout d7103a390456460fd2b7d93081cd64b3e55c10f9
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/ arch/x86/mm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> arch/x86/kernel/setup.c:65:1: warning: 'nocf_check' attribute ignored. Use '-fcf-protection' option to enable it [-Wattributes]
      65 | RESERVE_BRK(dmi_alloc, 65536);
         | ^~~~~~~~~~~
--
>> arch/x86/mm/init.c:178:1: warning: 'nocf_check' attribute ignored. Use '-fcf-protection' option to enable it [-Wattributes]
     178 | RESERVE_BRK(early_pgt_alloc, INIT_PGT_BUF_SIZE);
         | ^~~~~~~~~~~


vim +65 arch/x86/kernel/setup.c

2b72394e4089643 Pekka Enberg                  2009-04-28  63  
e808bae2407a087 Thadeu Lima de Souza Cascardo 2010-02-09  64  #ifdef CONFIG_DMI
796216a57fe45c0 Jeremy Fitzhardinge           2009-03-12 @65  RESERVE_BRK(dmi_alloc, 65536);
e808bae2407a087 Thadeu Lima de Souza Cascardo 2010-02-09  66  #endif
796216a57fe45c0 Jeremy Fitzhardinge           2009-03-12  67  
c0b5842a457d44c Ingo Molnar                   2009-01-27  68  

:::::: The code at line 65 was first introduced by commit
:::::: 796216a57fe45c04adc35bda1f0782efec78a713 x86: allow extend_brk users to reserve brk space

:::::: TO: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
:::::: CC: H. Peter Anvin <hpa@zytor.com>

---
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-12-02 21:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02 21:38 [peterz-queue:x86/wip.ibt 7/15] arch/x86/kernel/setup.c:65:1: warning: 'nocf_check' attribute ignored. Use '-fcf-protection' option to enable it 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®