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/irq_chip_ro 12/20] drivers/gpio/gpio-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
Date: Tue, 1 Feb 2022 16:53:59 +0800 [thread overview]
Message-ID: <202202011652.44VOL7NK-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: 218869493fda68e8c327a6484f5a6973a3008729
commit: bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73 [12/20] gpio: omap: Switch to dynamic chip name output
config: arm-randconfig-r002-20220131 (https://download.01.org/0day-ci/archive/20220201/202202011652.44VOL7NK-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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=bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
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/irq_chip_ro
git checkout bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
# 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-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~^~
.
>> drivers/gpio/gpio-omap.c:716:43: error: no member named 'dev' in 'struct gpio_chip'
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~ ^
2 errors generated.
vim +716 drivers/gpio/gpio-omap.c
711
712 static void omap_gpio_irq_print_chip(struct irq_data *d, struct seq_file *p)
713 {
714 struct gpio_bank *bank = omap_irq_data_get_bank(d);
715
> 716 seq_printf(p, "%s", dev_name(bank->chip->dev));
717 }
718
---
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: 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/irq_chip_ro 12/20] drivers/gpio/gpio-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
Date: Tue, 1 Feb 2022 16:53:59 +0800 [thread overview]
Message-ID: <202202011652.44VOL7NK-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: 218869493fda68e8c327a6484f5a6973a3008729
commit: bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73 [12/20] gpio: omap: Switch to dynamic chip name output
config: arm-randconfig-r002-20220131 (https://download.01.org/0day-ci/archive/20220201/202202011652.44VOL7NK-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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=bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
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/irq_chip_ro
git checkout bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
# 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-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~^~
.
>> drivers/gpio/gpio-omap.c:716:43: error: no member named 'dev' in 'struct gpio_chip'
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~ ^
2 errors generated.
vim +716 drivers/gpio/gpio-omap.c
711
712 static void omap_gpio_irq_print_chip(struct irq_data *d, struct seq_file *p)
713 {
714 struct gpio_bank *bank = omap_irq_data_get_bank(d);
715
> 716 seq_printf(p, "%s", dev_name(bank->chip->dev));
717 }
718
---
0-DAY CI Kernel Test Service, Intel Corporation
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
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [arm-platforms:irq/irq_chip_ro 12/20] drivers/gpio/gpio-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
Date: Tue, 01 Feb 2022 16:53:59 +0800 [thread overview]
Message-ID: <202202011652.44VOL7NK-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2431 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: 218869493fda68e8c327a6484f5a6973a3008729
commit: bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73 [12/20] gpio: omap: Switch to dynamic chip name output
config: arm-randconfig-r002-20220131 (https://download.01.org/0day-ci/archive/20220201/202202011652.44VOL7NK-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6b1e844b69f15bb7dffaf9365cd2b355d2eb7579)
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=bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
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/irq_chip_ro
git checkout bb36fd119ef0dcee7e0e7e5f9fd11d5221bf5f73
# 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-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'?
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~^~
.
>> drivers/gpio/gpio-omap.c:716:43: error: no member named 'dev' in 'struct gpio_chip'
seq_printf(p, "%s", dev_name(bank->chip->dev));
~~~~~~~~~~ ^
2 errors generated.
vim +716 drivers/gpio/gpio-omap.c
711
712 static void omap_gpio_irq_print_chip(struct irq_data *d, struct seq_file *p)
713 {
714 struct gpio_bank *bank = omap_irq_data_get_bank(d);
715
> 716 seq_printf(p, "%s", dev_name(bank->chip->dev));
717 }
718
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
next reply other threads:[~2022-02-01 8:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 8:53 kernel test robot [this message]
2022-02-01 8:53 ` [arm-platforms:irq/irq_chip_ro 12/20] drivers/gpio/gpio-omap.c:716:41: error: member reference type 'struct gpio_chip' is not a pointer; did you mean to use '.'? kernel test robot
2022-02-01 8:53 ` 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=202202011652.44VOL7NK-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.