All of lore.kernel.org
 help / color / mirror / Atom feed
* [kas:lam 10/10] arch/x86/kernel/proc.c:35:24: error: 'X86_THREAD_LAM_U48' undeclared; did you mean 'X86_CR3_LAM_U48'?
@ 2022-04-07  8:54 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-07  8:54 UTC (permalink / raw)
  To: Kirill A. Shutemov; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git lam
head:   73447e771c55e18598a6fbf6adee1002aee18ea0
commit: 73447e771c55e18598a6fbf6adee1002aee18ea0 [10/10] x86: Expose thread features status in /proc/$PID/arch_status
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220407/202204071610.T6fPhCnP-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?id=73447e771c55e18598a6fbf6adee1002aee18ea0
        git remote add kas https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git
        git fetch --no-tags kas lam
        git checkout 73447e771c55e18598a6fbf6adee1002aee18ea0
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   arch/x86/kernel/proc.c: In function 'dump_features':
>> arch/x86/kernel/proc.c:35:24: error: 'X86_THREAD_LAM_U48' undeclared (first use in this function); did you mean 'X86_CR3_LAM_U48'?
      35 |         if (features & X86_THREAD_LAM_U48)
         |                        ^~~~~~~~~~~~~~~~~~
         |                        X86_CR3_LAM_U48
   arch/x86/kernel/proc.c:35:24: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kernel/proc.c:37:24: error: 'X86_THREAD_LAM_U57' undeclared (first use in this function); did you mean 'X86_CR3_LAM_U57'?
      37 |         if (features & X86_THREAD_LAM_U57)
         |                        ^~~~~~~~~~~~~~~~~~
         |                        X86_CR3_LAM_U57


vim +35 arch/x86/kernel/proc.c

    32	
    33	static void dump_features(struct seq_file *m, unsigned long features)
    34	{
  > 35		if (features & X86_THREAD_LAM_U48)
    36			seq_puts(m, "lam_u48 ");
  > 37		if (features & X86_THREAD_LAM_U57)
    38			seq_puts(m, "lam_u57 ");
    39	}
    40	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-04-07  8:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-07  8:54 [kas:lam 10/10] arch/x86/kernel/proc.c:35:24: error: 'X86_THREAD_LAM_U48' undeclared; did you mean 'X86_CR3_LAM_U48'? kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.