From: kernel test robot <lkp@intel.com>
To: Li Chen <lchen.firstlove@zohomail.com>,
Mark Brown <broonie@kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
linux-gpio <linux-gpio@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
Patrice Chotard <patrice.chotard@foss.st.com>,
linux-sunxi <linux-sunxi@lists.linux.dev>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH 4/4] pinctrl: st: Switch to use regmap_field_test_bits
Date: Mon, 23 May 2022 00:03:28 +0800 [thread overview]
Message-ID: <202205222359.yQ35dVuB-lkp@intel.com> (raw)
In-Reply-To: <180e705f8de.1012cdc8c45890.1645144071309904245@zohomail.com>
Hi Li,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-regmap/for-next]
[also build test ERROR on linusw-pinctrl/devel broonie-sound/for-next v5.18-rc7]
[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/intel-lab-lkp/linux/commits/Li-Chen/Add-regmap_field-helpers-for-simple-bit-operations/20220521-224352
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20220522/202205222359.yQ35dVuB-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.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/intel-lab-lkp/linux/commit/73189e14ed111777ac60a95ae3008337c69589da
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Li-Chen/Add-regmap_field-helpers-for-simple-bit-operations/20220521-224352
git checkout 73189e14ed111777ac60a95ae3008337c69589da
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/pinctrl/pinctrl-st.c: In function 'st_pinconf_get_direction':
>> drivers/pinctrl/pinctrl-st.c:587:53: error: 'od_value' undeclared (first use in this function); did you mean 'si_value'?
587 | if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
| ^~~~~~~~
| si_value
drivers/pinctrl/pinctrl-st.c:587:53: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pinctrl/pinctrl-st.c:587:21: error: too many arguments to function 'regmap_field_test_bits'
587 | if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/pinctrl/pinctrl-st.c:18:
include/linux/regmap.h:1353:5: note: declared here
1353 | int regmap_field_test_bits(struct regmap_field *field, unsigned int bits);
| ^~~~~~~~~~~~~~~~~~~~~~
vim +587 drivers/pinctrl/pinctrl-st.c
572
573 static void st_pinconf_get_direction(struct st_pio_control *pc,
574 int pin, unsigned long *config)
575 {
576 if (pc->oe) {
577 if (regmap_field_test_bits(pc->oe, BIT(pin)))
578 ST_PINCONF_PACK_OE(*config);
579 }
580
581 if (pc->pu) {
582 if (regmap_field_test_bits(pc->pu, BIT(pin)))
583 ST_PINCONF_PACK_PU(*config);
584 }
585
586 if (pc->od) {
> 587 if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
588 ST_PINCONF_PACK_OD(*config);
589 }
590 }
591
--
0-DAY CI Kernel Test Service
https://01.org/lkp
WARNING: multiple messages have this Message-ID
From: kernel test robot <lkp@intel.com>
To: Li Chen <lchen.firstlove@zohomail.com>,
Mark Brown <broonie@kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
linux-gpio <linux-gpio@vger.kernel.org>,
Linus Walleij <linus.walleij@linaro.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
Patrice Chotard <patrice.chotard@foss.st.com>,
linux-sunxi <linux-sunxi@lists.linux.dev>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Chen-Yu Tsai <wens@csie.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Philipp Zabel <p.zabel@pengutronix.de>
Cc: kbuild-all@lists.01.org
Subject: Re: [PATCH 4/4] pinctrl: st: Switch to use regmap_field_test_bits
Date: Mon, 23 May 2022 00:03:28 +0800 [thread overview]
Message-ID: <202205222359.yQ35dVuB-lkp@intel.com> (raw)
In-Reply-To: <180e705f8de.1012cdc8c45890.1645144071309904245@zohomail.com>
Hi Li,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-regmap/for-next]
[also build test ERROR on linusw-pinctrl/devel broonie-sound/for-next v5.18-rc7]
[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/intel-lab-lkp/linux/commits/Li-Chen/Add-regmap_field-helpers-for-simple-bit-operations/20220521-224352
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next
config: arm-allmodconfig (https://download.01.org/0day-ci/archive/20220522/202205222359.yQ35dVuB-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.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/intel-lab-lkp/linux/commit/73189e14ed111777ac60a95ae3008337c69589da
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Li-Chen/Add-regmap_field-helpers-for-simple-bit-operations/20220521-224352
git checkout 73189e14ed111777ac60a95ae3008337c69589da
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/pinctrl/pinctrl-st.c: In function 'st_pinconf_get_direction':
>> drivers/pinctrl/pinctrl-st.c:587:53: error: 'od_value' undeclared (first use in this function); did you mean 'si_value'?
587 | if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
| ^~~~~~~~
| si_value
drivers/pinctrl/pinctrl-st.c:587:53: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pinctrl/pinctrl-st.c:587:21: error: too many arguments to function 'regmap_field_test_bits'
587 | if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/pinctrl/pinctrl-st.c:18:
include/linux/regmap.h:1353:5: note: declared here
1353 | int regmap_field_test_bits(struct regmap_field *field, unsigned int bits);
| ^~~~~~~~~~~~~~~~~~~~~~
vim +587 drivers/pinctrl/pinctrl-st.c
572
573 static void st_pinconf_get_direction(struct st_pio_control *pc,
574 int pin, unsigned long *config)
575 {
576 if (pc->oe) {
577 if (regmap_field_test_bits(pc->oe, BIT(pin)))
578 ST_PINCONF_PACK_OE(*config);
579 }
580
581 if (pc->pu) {
582 if (regmap_field_test_bits(pc->pu, BIT(pin)))
583 ST_PINCONF_PACK_PU(*config);
584 }
585
586 if (pc->od) {
> 587 if (regmap_field_test_bits(pc->od, &od_value, BIT(pin)))
588 ST_PINCONF_PACK_OD(*config);
589 }
590 }
591
--
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-05-22 16:04 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-21 14:25 [PATCH 0/4] Add regmap_field helpers for simple bit operations Li Chen
2022-05-21 14:25 ` Li Chen
2022-05-21 14:26 ` [PATCH 1/4] regmap: provide " Li Chen
2022-05-21 14:26 ` Li Chen
2022-05-21 14:27 ` [PATCH 2/4] ASoC: sunxi: Use {regmap/regmap_field}_{set/clear}_bits helpers Li Chen
2022-05-21 14:27 ` Li Chen
2022-05-21 14:28 ` [PATCH 3/4] pinctrl: bcm: Use regmap_field_{set/clear}_bits helpers Li Chen
2022-05-21 14:28 ` Li Chen
2022-05-21 14:29 ` [PATCH 4/4] pinctrl: st: Switch to use regmap_field_test_bits Li Chen
2022-05-21 14:29 ` Li Chen
2022-05-22 16:03 ` kernel test robot [this message]
2022-05-22 16:03 ` kernel test robot
2022-05-23 2:22 ` [PATCH v2 0/4] Add regmap_field helpers for simple bit operations Li Chen
2022-05-23 2:22 ` Li Chen
2022-05-23 2:23 ` [PATCH v2 1/4] regmap: provide " Li Chen
2022-05-23 2:23 ` Li Chen
2022-05-23 3:09 ` Samuel Holland
2022-05-23 3:09 ` Samuel Holland
2022-05-23 3:30 ` Li Chen
2022-05-23 3:30 ` Li Chen
2022-05-23 2:24 ` [PATCH v2 2/4] ASoC: sunxi: Use {regmap/regmap_field}_{set/clear}_bits helpers Li Chen
2022-05-23 2:24 ` Li Chen
2022-05-23 2:25 ` [PATCH v2 3/4] pinctrl: bcm: Use regmap_field_{set/clear}_bits helpers Li Chen
2022-05-23 2:25 ` Li Chen
2022-05-23 2:25 ` [PATCH v2 4/4] pinctrl: st: Switch to use regmap_field_test_bits Li Chen
2022-05-23 2:25 ` Li Chen
2022-05-23 11:39 ` [PATCH v2 0/4] Add regmap_field helpers for simple bit operations Mark Brown
2022-05-23 11:39 ` Mark Brown
2022-05-23 13:19 ` Li Chen
2022-05-23 13:19 ` Li Chen
2022-05-23 3:26 ` [PATCH v3 " Li Chen
2022-05-23 3:26 ` Li Chen
2022-05-23 3:26 ` [PATCH v3 1/4] regmap: provide " Li Chen
2022-05-23 3:26 ` Li Chen
2022-05-23 3:27 ` [PATCH v3 2/4] ASoC: sunxi: Use {regmap/regmap_field}_{set/clear}_bits helpers Li Chen
2022-05-23 3:27 ` Li Chen
2022-05-23 3:28 ` [PATCH v3 3/4] pinctrl: bcm: Use regmap_field_{set/clear}_bits helpers Li Chen
2022-05-23 3:28 ` Li Chen
2022-05-23 3:29 ` [PATCH v3 4/4] pinctrl: st: Switch to use regmap_field_test_bits Li Chen
2022-05-23 3:29 ` Li Chen
2022-06-15 16:59 ` [PATCH v3 0/4] Add regmap_field helpers for simple bit operations Mark Brown
2022-06-15 16:59 ` Mark Brown
2022-06-15 17:08 ` (subset) " Mark Brown
2022-06-15 17:08 ` Mark Brown
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=202205222359.yQ35dVuB-lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jernej.skrabec@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=lchen.firstlove@zohomail.com \
--cc=lgirdwood@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=patrice.chotard@foss.st.com \
--cc=perex@perex.cz \
--cc=rafael@kernel.org \
--cc=samuel@sholland.org \
--cc=tiwai@suse.com \
--cc=wens@csie.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.