From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/gpio-immutable 12/12] drivers/gpio/gpio-pl061.c:297:3: error: field designator 'irq_request_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_request_resources'?
Date: Mon, 14 Mar 2022 00:07:21 +0800 [thread overview]
Message-ID: <202203132300.UZKclCS6-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/gpio-immutable
head: 0ddc020186ee141ff434eb515e5a0eeea2afafbc
commit: 0ddc020186ee141ff434eb515e5a0eeea2afafbc [12/12] gpio: pl061: Make the irqchip immutable
config: arm-buildonly-randconfig-r001-20220313 (https://download.01.org/0day-ci/archive/20220313/202203132300.UZKclCS6-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0467eb2cb7654c15ae366967ef35093c5724c416)
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/maz/arm-platforms.git/commit/?id=0ddc020186ee141ff434eb515e5a0eeea2afafbc
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/gpio-immutable
git checkout 0ddc020186ee141ff434eb515e5a0eeea2afafbc
# 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 drivers/
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 >>):
>> drivers/gpio/gpio-pl061.c:297:3: error: field designator 'irq_request_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_request_resources'?
.irq_request_resource = gpiochip_irq_reqres,
^~~~~~~~~~~~~~~~~~~~
irq_request_resources
include/linux/irq.h:536:9: note: 'irq_request_resources' declared here
int (*irq_request_resources)(struct irq_data *data);
^
>> drivers/gpio/gpio-pl061.c:298:3: error: field designator 'irq_release_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_release_resources'?
.irq_release_resource = gpiochip_irq_relres,
^~~~~~~~~~~~~~~~~~~~
irq_release_resources
include/linux/irq.h:537:10: note: 'irq_release_resources' declared here
void (*irq_release_resources)(struct irq_data *data);
^
2 errors generated.
vim +297 drivers/gpio/gpio-pl061.c
295
296 static const struct irq_chip pl061_irq_chip = {
> 297 .irq_request_resource = gpiochip_irq_reqres,
> 298 .irq_release_resource = gpiochip_irq_relres,
299 .irq_ack = pl061_irq_ack,
300 .irq_mask = pl061_irq_mask,
301 .irq_unmask = pl061_irq_unmask,
302 .irq_set_type = pl061_irq_type,
303 .irq_set_wake = pl061_irq_set_wake,
304 .irq_print_chip = pl061_irq_print_chip,
305 .flags = IRQCHIP_IMMUTABLE,
306 };
307
---
0-DAY CI Kernel Test Service
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: Marc Zyngier <maz@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-arm-kernel@lists.infradead.org
Subject: [arm-platforms:irq/gpio-immutable 12/12] drivers/gpio/gpio-pl061.c:297:3: error: field designator 'irq_request_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_request_resources'?
Date: Mon, 14 Mar 2022 00:07:21 +0800 [thread overview]
Message-ID: <202203132300.UZKclCS6-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/gpio-immutable
head: 0ddc020186ee141ff434eb515e5a0eeea2afafbc
commit: 0ddc020186ee141ff434eb515e5a0eeea2afafbc [12/12] gpio: pl061: Make the irqchip immutable
config: arm-buildonly-randconfig-r001-20220313 (https://download.01.org/0day-ci/archive/20220313/202203132300.UZKclCS6-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0467eb2cb7654c15ae366967ef35093c5724c416)
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/maz/arm-platforms.git/commit/?id=0ddc020186ee141ff434eb515e5a0eeea2afafbc
git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/gpio-immutable
git checkout 0ddc020186ee141ff434eb515e5a0eeea2afafbc
# 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 drivers/
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 >>):
>> drivers/gpio/gpio-pl061.c:297:3: error: field designator 'irq_request_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_request_resources'?
.irq_request_resource = gpiochip_irq_reqres,
^~~~~~~~~~~~~~~~~~~~
irq_request_resources
include/linux/irq.h:536:9: note: 'irq_request_resources' declared here
int (*irq_request_resources)(struct irq_data *data);
^
>> drivers/gpio/gpio-pl061.c:298:3: error: field designator 'irq_release_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_release_resources'?
.irq_release_resource = gpiochip_irq_relres,
^~~~~~~~~~~~~~~~~~~~
irq_release_resources
include/linux/irq.h:537:10: note: 'irq_release_resources' declared here
void (*irq_release_resources)(struct irq_data *data);
^
2 errors generated.
vim +297 drivers/gpio/gpio-pl061.c
295
296 static const struct irq_chip pl061_irq_chip = {
> 297 .irq_request_resource = gpiochip_irq_reqres,
> 298 .irq_release_resource = gpiochip_irq_relres,
299 .irq_ack = pl061_irq_ack,
300 .irq_mask = pl061_irq_mask,
301 .irq_unmask = pl061_irq_unmask,
302 .irq_set_type = pl061_irq_type,
303 .irq_set_wake = pl061_irq_set_wake,
304 .irq_print_chip = pl061_irq_print_chip,
305 .flags = IRQCHIP_IMMUTABLE,
306 };
307
---
0-DAY CI Kernel Test Service
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-03-13 16:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-13 16:07 kernel test robot [this message]
2022-03-13 16:07 ` [arm-platforms:irq/gpio-immutable 12/12] drivers/gpio/gpio-pl061.c:297:3: error: field designator 'irq_request_resource' does not refer to any field in type 'const struct irq_chip'; did you mean 'irq_request_resources'? 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=202203132300.UZKclCS6-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=llvm@lists.linux.dev \
--cc=maz@kernel.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.