All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 1/1] kernel.h: split out instruction pointer accessors
Date: Thu, 28 Oct 2021 02:09:48 +0800	[thread overview]
Message-ID: <202110280217.A2FUrtxH-lkp@intel.com> (raw)
In-Reply-To: <20211027154623.82223-1-andriy.shevchenko@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 3164 bytes --]

Hi Andy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on next-20211026]
[cannot apply to linus/master v5.15-rc7 v5.15-rc6 v5.15-rc5 v5.15-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/kernel-h-split-out-instruction-pointer-accessors/20211027-235208
base:    2376e5fe91bcad74b997d2cc0535abff79ec73c5
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/9fc7130c986cccb5765165dd9f7fc77a4935892c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andy-Shevchenko/kernel-h-split-out-instruction-pointer-accessors/20211027-235208
        git checkout 9fc7130c986cccb5765165dd9f7fc77a4935892c
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 prepare

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 >>):

   In file included from include/linux/kernel.h:23,
                    from include/linux/crypto.h:16,
                    from arch/x86/kernel/asm-offsets.c:9:
>> include/linux/instruction_pointer.h:8:2: error: invalid preprocessing directive #enfif; did you mean #endif?
       8 | #enfif /* _LINUX_INSTRUCTION_POINTER_H */
         |  ^~~~~
         |  endif
>> include/linux/instruction_pointer.h:2: error: unterminated #ifndef
       2 | #ifndef _LINUX_INSTRUCTION_POINTER_H
         | 
   In file included from include/linux/bottom_half.h:5,
                    from include/linux/spinlock.h:61,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/slab.h:15,
                    from include/linux/crypto.h:20,
                    from arch/x86/kernel/asm-offsets.c:9:
>> include/linux/instruction_pointer.h:2: error: unterminated #ifndef
       2 | #ifndef _LINUX_INSTRUCTION_POINTER_H
         | 
   make[2]: *** [scripts/Makefile.build:122: arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1288: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:226: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +8 include/linux/instruction_pointer.h

   > 2	#ifndef _LINUX_INSTRUCTION_POINTER_H
     3	#define _LINUX_INSTRUCTION_POINTER_H
     4	
     5	#define _RET_IP_		(unsigned long)__builtin_return_address(0)
     6	#define _THIS_IP_  ({ __label__ __here; __here: (unsigned long)&&__here; })
     7	
   > 8	#enfif /* _LINUX_INSTRUCTION_POINTER_H */

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 7645 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Stephen Rothwell <sfr@canb.auug.org.au>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [PATCH v2 1/1] kernel.h: split out instruction pointer accessors
Date: Thu, 28 Oct 2021 02:09:48 +0800	[thread overview]
Message-ID: <202110280217.A2FUrtxH-lkp@intel.com> (raw)
In-Reply-To: <20211027154623.82223-1-andriy.shevchenko@linux.intel.com>

[-- Attachment #1: Type: text/plain, Size: 3093 bytes --]

Hi Andy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on next-20211026]
[cannot apply to linus/master v5.15-rc7 v5.15-rc6 v5.15-rc5 v5.15-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Andy-Shevchenko/kernel-h-split-out-instruction-pointer-accessors/20211027-235208
base:    2376e5fe91bcad74b997d2cc0535abff79ec73c5
config: i386-tinyconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/0day-ci/linux/commit/9fc7130c986cccb5765165dd9f7fc77a4935892c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andy-Shevchenko/kernel-h-split-out-instruction-pointer-accessors/20211027-235208
        git checkout 9fc7130c986cccb5765165dd9f7fc77a4935892c
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 prepare

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 >>):

   In file included from include/linux/kernel.h:23,
                    from include/linux/crypto.h:16,
                    from arch/x86/kernel/asm-offsets.c:9:
>> include/linux/instruction_pointer.h:8:2: error: invalid preprocessing directive #enfif; did you mean #endif?
       8 | #enfif /* _LINUX_INSTRUCTION_POINTER_H */
         |  ^~~~~
         |  endif
>> include/linux/instruction_pointer.h:2: error: unterminated #ifndef
       2 | #ifndef _LINUX_INSTRUCTION_POINTER_H
         | 
   In file included from include/linux/bottom_half.h:5,
                    from include/linux/spinlock.h:61,
                    from include/linux/mmzone.h:8,
                    from include/linux/gfp.h:6,
                    from include/linux/slab.h:15,
                    from include/linux/crypto.h:20,
                    from arch/x86/kernel/asm-offsets.c:9:
>> include/linux/instruction_pointer.h:2: error: unterminated #ifndef
       2 | #ifndef _LINUX_INSTRUCTION_POINTER_H
         | 
   make[2]: *** [scripts/Makefile.build:122: arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1288: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:226: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +8 include/linux/instruction_pointer.h

   > 2	#ifndef _LINUX_INSTRUCTION_POINTER_H
     3	#define _LINUX_INSTRUCTION_POINTER_H
     4	
     5	#define _RET_IP_		(unsigned long)__builtin_return_address(0)
     6	#define _THIS_IP_  ({ __label__ __here; __here: (unsigned long)&&__here; })
     7	
   > 8	#enfif /* _LINUX_INSTRUCTION_POINTER_H */

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 7645 bytes --]

  reply	other threads:[~2021-10-27 18:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-27 15:46 [PATCH v2 1/1] kernel.h: split out instruction pointer accessors Andy Shevchenko
2021-10-27 18:09 ` kernel test robot [this message]
2021-10-27 18:09   ` kernel test robot
2021-10-27 19:30   ` Andy Shevchenko
2021-10-27 19:30     ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110280217.A2FUrtxH-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.