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 2/2] compiler.h: Include asm/rwonce.h under ARM64 and ALPHA to fix build errors
Date: Thu, 14 Jan 2021 10:18:16 +0800	[thread overview]
Message-ID: <202101141023.eH4xxTyx-lkp@intel.com> (raw)
In-Reply-To: <1610535453-2352-3-git-send-email-yangtiezhu@loongson.cn>

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

Hi Tiezhu,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on bpf-next/master]
[also build test ERROR on bpf/master linus/master v5.11-rc3 next-20210113]
[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/Tiezhu-Yang/Fix-build-errors-and-warnings-when-make-M-samples-bpf/20210113-190045
base:   https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git master
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/f65413b91d3c20f52eb8b53d7d32b9fd38a18dca
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Tiezhu-Yang/Fix-build-errors-and-warnings-when-make-M-samples-bpf/20210113-190045
        git checkout f65413b91d3c20f52eb8b53d7d32b9fd38a18dca
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/spinlock_types.h:13,
                    from include/linux/ratelimit_types.h:7,
                    from include/linux/ratelimit.h:5,
                    from lib/ratelimit.c:11:
>> arch/arm/include/asm/spinlock_types.h:13:3: error: unknown type name 'u32'
      13 |   u32 slock;
         |   ^~~
>> arch/arm/include/asm/spinlock_types.h:19:4: error: unknown type name 'u16'
      19 |    u16 owner;
         |    ^~~
   arch/arm/include/asm/spinlock_types.h:20:4: error: unknown type name 'u16'
      20 |    u16 next;
         |    ^~~
   arch/arm/include/asm/spinlock_types.h:29:2: error: unknown type name 'u32'
      29 |  u32 lock;
         |  ^~~


vim +/u32 +13 arch/arm/include/asm/spinlock_types.h

546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  10  
fb1c8f93d869b34c include/asm-arm/spinlock_types.h      Ingo Molnar     2005-09-10  11  typedef struct {
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  12  	union {
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06 @13  		u32 slock;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  14  		struct __raw_tickets {
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  15  #ifdef __ARMEB__
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  16  			u16 next;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  17  			u16 owner;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  18  #else
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06 @19  			u16 owner;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  20  			u16 next;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  21  #endif
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  22  		} tickets;
546c2896a42202db arch/arm/include/asm/spinlock_types.h Will Deacon     2012-07-06  23  	};
445c89514be242b1 arch/arm/include/asm/spinlock_types.h Thomas Gleixner 2009-12-02  24  } arch_spinlock_t;
fb1c8f93d869b34c include/asm-arm/spinlock_types.h      Ingo Molnar     2005-09-10  25  

---
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: 54191 bytes --]

  parent reply	other threads:[~2021-01-14  2:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13 10:57 [PATCH 0/2] Fix build errors and warnings when make M=samples/bpf Tiezhu Yang
2021-01-13 10:57 ` [PATCH bpf 1/2] samples/bpf: Set flag __SANE_USERSPACE_TYPES__ for MIPS to fix build warnings Tiezhu Yang
2021-01-13 17:12   ` Yonghong Song
2021-01-18  3:22     ` Tiezhu Yang
2021-01-18 18:44       ` Yonghong Song
2021-01-13 10:57 ` [PATCH 2/2] compiler.h: Include asm/rwonce.h under ARM64 and ALPHA to fix build errors Tiezhu Yang
2021-01-13 17:14   ` Yonghong Song
2021-01-18  9:25     ` Tiezhu Yang
2021-01-14  2:18   ` kernel test robot [this message]
2021-01-14  8:40   ` Sergei Shtylyov
2021-01-14 15:58   ` kernel test robot
2021-01-13 17:16 ` [PATCH 0/2] Fix build errors and warnings when make M=samples/bpf Yonghong Song

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=202101141023.eH4xxTyx-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.