All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: James Morse <james.morse@arm.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [morse:mpam/snapshot/v5.16 70/137] include/linux/irqchip/arm-vgic-info.h:13:15: error: unexpected token in argument list
Date: Wed, 26 Jan 2022 13:37:10 +0800	[thread overview]
Message-ID: <202201261305.sZ3Y7MUD-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head:   364c1c42b229912132e1615c2ce15be7154e2156
commit: faf6ce00f9b35ca0a0389a2d66d90214d3c62f34 [70/137] irqchip/gic: Collect GIC_IRQ_TYPE definitions into one place
config: arm-omap1_defconfig (https://download.01.org/0day-ci/archive/20220126/202201261305.sZ3Y7MUD-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2a1b7aa016c0f4b5598806205bdfbab1ea2d92c4)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?id=faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
        git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
        git fetch --no-tags morse mpam/snapshot/v5.16
        git checkout faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm 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 >>):

>> include/linux/irqchip/arm-vgic-info.h:13:15: error: unexpected token in argument list
   enum gic_type {
                 ^
>> include/linux/irqchip/arm-vgic-info.h:15:8: error: unexpected token in operand
    GIC_V2,
          ^
   include/linux/irqchip/arm-vgic-info.h:17:8: error: unexpected token in operand
    GIC_V3,
          ^
>> include/linux/irqchip/arm-vgic-info.h:18:1: error: invalid instruction, did you mean: b?
   };
   ^
   include/linux/irqchip/arm-vgic-info.h:20:21: error: unexpected token in argument list
   struct gic_kvm_info {
                       ^
   include/linux/irqchip/arm-vgic-info.h:22:16: error: unexpected token in argument list
    enum gic_type type;
                  ^
   include/linux/irqchip/arm-vgic-info.h:24:18: error: unexpected token in argument list
    struct resource vcpu;
                    ^
   include/linux/irqchip/arm-vgic-info.h:26:15: error: unexpected token in argument list
    unsigned int maint_irq;
                 ^
>> include/linux/irqchip/arm-vgic-info.h:28:2: error: invalid instruction, did you mean: bl?
    bool no_maint_irq_mask;
    ^
   include/linux/irqchip/arm-vgic-info.h:30:18: error: unexpected token in argument list
    struct resource vctrl;
                    ^
   include/linux/irqchip/arm-vgic-info.h:32:2: error: invalid instruction, did you mean: bl?
    bool has_v4;
    ^
   include/linux/irqchip/arm-vgic-info.h:34:2: error: invalid instruction, did you mean: bl?
    bool has_v4_1;
    ^
   include/linux/irqchip/arm-vgic-info.h:36:2: error: invalid instruction, did you mean: bl?
    bool no_hw_deactivation;
    ^
   include/linux/irqchip/arm-vgic-info.h:37:1: error: invalid instruction, did you mean: b?
   };
   ^
   include/linux/irqchip/arm-vgic-info.h:42:15: error: unexpected token in argument list
   static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {}
                 ^
>> include/linux/irqchip/arm-gic-common.h:25:1: error: invalid instruction, did you mean: strt?
   struct irq_domain;
   ^
   include/linux/irqchip/arm-gic-common.h:26:1: error: invalid instruction, did you mean: strt?
   struct fwnode_handle;
   ^
>> include/linux/irqchip/arm-gic-common.h:27:24: error: unexpected token in variant, expected ')'
   int gicv2m_init(struct fwnode_handle *parent_handle,
                          ^
>> include/linux/irqchip/arm-gic-common.h:28:28: error: unexpected token in argument list
     struct irq_domain *parent);
                              ^


vim +13 include/linux/irqchip/arm-vgic-info.h

0e5cb7770684b4 Marc Zyngier 2021-02-27  12  
0e5cb7770684b4 Marc Zyngier 2021-02-27 @13  enum gic_type {
0e5cb7770684b4 Marc Zyngier 2021-02-27  14  	/* Full GICv2 */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @15  	GIC_V2,
0e5cb7770684b4 Marc Zyngier 2021-02-27  16  	/* Full GICv3, optionally with v2 compat */
0e5cb7770684b4 Marc Zyngier 2021-02-27  17  	GIC_V3,
0e5cb7770684b4 Marc Zyngier 2021-02-27 @18  };
0e5cb7770684b4 Marc Zyngier 2021-02-27  19  
0e5cb7770684b4 Marc Zyngier 2021-02-27  20  struct gic_kvm_info {
0e5cb7770684b4 Marc Zyngier 2021-02-27  21  	/* GIC type */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @22  	enum gic_type	type;
0e5cb7770684b4 Marc Zyngier 2021-02-27  23  	/* Virtual CPU interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27  24  	struct resource vcpu;
0e5cb7770684b4 Marc Zyngier 2021-02-27  25  	/* Interrupt number */
0e5cb7770684b4 Marc Zyngier 2021-02-27  26  	unsigned int	maint_irq;
669062d2a1aa36 Marc Zyngier 2021-02-28  27  	/* No interrupt mask, no need to use the above field */
669062d2a1aa36 Marc Zyngier 2021-02-28 @28  	bool		no_maint_irq_mask;
0e5cb7770684b4 Marc Zyngier 2021-02-27  29  	/* Virtual control interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27  30  	struct resource vctrl;
0e5cb7770684b4 Marc Zyngier 2021-02-27  31  	/* vlpi support */
0e5cb7770684b4 Marc Zyngier 2021-02-27  32  	bool		has_v4;
0e5cb7770684b4 Marc Zyngier 2021-02-27  33  	/* rvpeid support */
0e5cb7770684b4 Marc Zyngier 2021-02-27  34  	bool		has_v4_1;
f6c3e24fb721dd Marc Zyngier 2021-03-15  35  	/* Deactivation impared, subpar stuff */
f6c3e24fb721dd Marc Zyngier 2021-03-15  36  	bool		no_hw_deactivation;
0e5cb7770684b4 Marc Zyngier 2021-02-27  37  };
0e5cb7770684b4 Marc Zyngier 2021-02-27  38  

:::::: The code at line 13 was first introduced by commit
:::::: 0e5cb7770684b4c81bcc63f4675e488f9a0e31eb irqchip/gic: Split vGIC probing information from the GIC code

:::::: TO: Marc Zyngier <maz@kernel.org>
:::::: CC: Marc Zyngier <maz@kernel.org>

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [morse:mpam/snapshot/v5.16 70/137] include/linux/irqchip/arm-vgic-info.h:13:15: error: unexpected token in argument list
Date: Wed, 26 Jan 2022 13:37:10 +0800	[thread overview]
Message-ID: <202201261305.sZ3Y7MUD-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git mpam/snapshot/v5.16
head:   364c1c42b229912132e1615c2ce15be7154e2156
commit: faf6ce00f9b35ca0a0389a2d66d90214d3c62f34 [70/137] irqchip/gic: Collect GIC_IRQ_TYPE definitions into one place
config: arm-omap1_defconfig (https://download.01.org/0day-ci/archive/20220126/202201261305.sZ3Y7MUD-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2a1b7aa016c0f4b5598806205bdfbab1ea2d92c4)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/commit/?id=faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
        git remote add morse https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git
        git fetch --no-tags morse mpam/snapshot/v5.16
        git checkout faf6ce00f9b35ca0a0389a2d66d90214d3c62f34
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm 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 >>):

>> include/linux/irqchip/arm-vgic-info.h:13:15: error: unexpected token in argument list
   enum gic_type {
                 ^
>> include/linux/irqchip/arm-vgic-info.h:15:8: error: unexpected token in operand
    GIC_V2,
          ^
   include/linux/irqchip/arm-vgic-info.h:17:8: error: unexpected token in operand
    GIC_V3,
          ^
>> include/linux/irqchip/arm-vgic-info.h:18:1: error: invalid instruction, did you mean: b?
   };
   ^
   include/linux/irqchip/arm-vgic-info.h:20:21: error: unexpected token in argument list
   struct gic_kvm_info {
                       ^
   include/linux/irqchip/arm-vgic-info.h:22:16: error: unexpected token in argument list
    enum gic_type type;
                  ^
   include/linux/irqchip/arm-vgic-info.h:24:18: error: unexpected token in argument list
    struct resource vcpu;
                    ^
   include/linux/irqchip/arm-vgic-info.h:26:15: error: unexpected token in argument list
    unsigned int maint_irq;
                 ^
>> include/linux/irqchip/arm-vgic-info.h:28:2: error: invalid instruction, did you mean: bl?
    bool no_maint_irq_mask;
    ^
   include/linux/irqchip/arm-vgic-info.h:30:18: error: unexpected token in argument list
    struct resource vctrl;
                    ^
   include/linux/irqchip/arm-vgic-info.h:32:2: error: invalid instruction, did you mean: bl?
    bool has_v4;
    ^
   include/linux/irqchip/arm-vgic-info.h:34:2: error: invalid instruction, did you mean: bl?
    bool has_v4_1;
    ^
   include/linux/irqchip/arm-vgic-info.h:36:2: error: invalid instruction, did you mean: bl?
    bool no_hw_deactivation;
    ^
   include/linux/irqchip/arm-vgic-info.h:37:1: error: invalid instruction, did you mean: b?
   };
   ^
   include/linux/irqchip/arm-vgic-info.h:42:15: error: unexpected token in argument list
   static inline void vgic_set_kvm_info(const struct gic_kvm_info *info) {}
                 ^
>> include/linux/irqchip/arm-gic-common.h:25:1: error: invalid instruction, did you mean: strt?
   struct irq_domain;
   ^
   include/linux/irqchip/arm-gic-common.h:26:1: error: invalid instruction, did you mean: strt?
   struct fwnode_handle;
   ^
>> include/linux/irqchip/arm-gic-common.h:27:24: error: unexpected token in variant, expected ')'
   int gicv2m_init(struct fwnode_handle *parent_handle,
                          ^
>> include/linux/irqchip/arm-gic-common.h:28:28: error: unexpected token in argument list
     struct irq_domain *parent);
                              ^


vim +13 include/linux/irqchip/arm-vgic-info.h

0e5cb7770684b4 Marc Zyngier 2021-02-27  12  
0e5cb7770684b4 Marc Zyngier 2021-02-27 @13  enum gic_type {
0e5cb7770684b4 Marc Zyngier 2021-02-27  14  	/* Full GICv2 */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @15  	GIC_V2,
0e5cb7770684b4 Marc Zyngier 2021-02-27  16  	/* Full GICv3, optionally with v2 compat */
0e5cb7770684b4 Marc Zyngier 2021-02-27  17  	GIC_V3,
0e5cb7770684b4 Marc Zyngier 2021-02-27 @18  };
0e5cb7770684b4 Marc Zyngier 2021-02-27  19  
0e5cb7770684b4 Marc Zyngier 2021-02-27  20  struct gic_kvm_info {
0e5cb7770684b4 Marc Zyngier 2021-02-27  21  	/* GIC type */
0e5cb7770684b4 Marc Zyngier 2021-02-27 @22  	enum gic_type	type;
0e5cb7770684b4 Marc Zyngier 2021-02-27  23  	/* Virtual CPU interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27  24  	struct resource vcpu;
0e5cb7770684b4 Marc Zyngier 2021-02-27  25  	/* Interrupt number */
0e5cb7770684b4 Marc Zyngier 2021-02-27  26  	unsigned int	maint_irq;
669062d2a1aa36 Marc Zyngier 2021-02-28  27  	/* No interrupt mask, no need to use the above field */
669062d2a1aa36 Marc Zyngier 2021-02-28 @28  	bool		no_maint_irq_mask;
0e5cb7770684b4 Marc Zyngier 2021-02-27  29  	/* Virtual control interface */
0e5cb7770684b4 Marc Zyngier 2021-02-27  30  	struct resource vctrl;
0e5cb7770684b4 Marc Zyngier 2021-02-27  31  	/* vlpi support */
0e5cb7770684b4 Marc Zyngier 2021-02-27  32  	bool		has_v4;
0e5cb7770684b4 Marc Zyngier 2021-02-27  33  	/* rvpeid support */
0e5cb7770684b4 Marc Zyngier 2021-02-27  34  	bool		has_v4_1;
f6c3e24fb721dd Marc Zyngier 2021-03-15  35  	/* Deactivation impared, subpar stuff */
f6c3e24fb721dd Marc Zyngier 2021-03-15  36  	bool		no_hw_deactivation;
0e5cb7770684b4 Marc Zyngier 2021-02-27  37  };
0e5cb7770684b4 Marc Zyngier 2021-02-27  38  

:::::: The code at line 13 was first introduced by commit
:::::: 0e5cb7770684b4c81bcc63f4675e488f9a0e31eb irqchip/gic: Split vGIC probing information from the GIC code

:::::: TO: Marc Zyngier <maz@kernel.org>
:::::: CC: Marc Zyngier <maz@kernel.org>

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

             reply	other threads:[~2022-01-26  5:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-26  5:37 kernel test robot [this message]
2022-01-26  5:37 ` [morse:mpam/snapshot/v5.16 70/137] include/linux/irqchip/arm-vgic-info.h:13:15: error: unexpected token in argument list kernel test robot

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=202201261305.sZ3Y7MUD-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=james.morse@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    /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.