From: kernel test robot <lkp@intel.com>
To: Marc Zyngier <maz@kernel.org>
Cc: 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:10: error: 'const struct irq_chip' has no member named 'irq_request_resource'; did you mean 'irq_request_resources'?
Date: Mon, 14 Mar 2022 02:29:00 +0800 [thread overview]
Message-ID: <202203140208.3z4l3AX3-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-randconfig-r003-20220313 (https://download.01.org/0day-ci/archive/20220314/202203140208.3z4l3AX3-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://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=gcc-11.2.0 make.cross 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:10: error: 'const struct irq_chip' has no member named 'irq_request_resource'; did you mean 'irq_request_resources'?
297 | .irq_request_resource = gpiochip_irq_reqres,
| ^~~~~~~~~~~~~~~~~~~~
| irq_request_resources
>> drivers/gpio/gpio-pl061.c:297:35: error: initialization of 'const char *' from incompatible pointer type 'int (*)(struct irq_data *)' [-Werror=incompatible-pointer-types]
297 | .irq_request_resource = gpiochip_irq_reqres,
| ^~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-pl061.c:297:35: note: (near initialization for 'pl061_irq_chip.name')
>> drivers/gpio/gpio-pl061.c:298:10: error: 'const struct irq_chip' has no member named 'irq_release_resource'; did you mean 'irq_release_resources'?
298 | .irq_release_resource = gpiochip_irq_relres,
| ^~~~~~~~~~~~~~~~~~~~
| irq_release_resources
>> drivers/gpio/gpio-pl061.c:298:35: error: initialization of 'unsigned int (*)(struct irq_data *)' from incompatible pointer type 'void (*)(struct irq_data *)' [-Werror=incompatible-pointer-types]
298 | .irq_release_resource = gpiochip_irq_relres,
| ^~~~~~~~~~~~~~~~~~~
drivers/gpio/gpio-pl061.c:298:35: note: (near initialization for 'pl061_irq_chip.irq_startup')
cc1: some warnings being treated as errors
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
reply other threads:[~2022-03-13 18:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202203140208.3z4l3AX3-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--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.