From: kernel test robot <lkp@intel.com>
To: Billy Tsai <billy_tsai@aspeedtech.com>,
lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au,
linus.walleij@linaro.org, brgl@bgdev.pl,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org,
BMC-SW@aspeedtech.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v2 3/4] pinctrl: aspeed: Add AST2700 pinmux support
Date: Sat, 6 Sep 2025 23:59:38 +0800 [thread overview]
Message-ID: <202509062340.wX64fW0j-lkp@intel.com> (raw)
In-Reply-To: <20250904103401.88287-4-billy_tsai@aspeedtech.com>
Hi Billy,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linusw-pinctrl/devel]
[also build test WARNING on linusw-pinctrl/for-next robh/for-next lee-leds/for-leds-next linus/master v6.17-rc4 next-20250905]
[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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Billy-Tsai/dt-bindings-mfd-aspeed-ast2x00-scu-Support-ast2700-pinctrl/20250904-184115
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
patch link: https://lore.kernel.org/r/20250904103401.88287-4-billy_tsai%40aspeedtech.com
patch subject: [PATCH v2 3/4] pinctrl: aspeed: Add AST2700 pinmux support
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20250906/202509062340.wX64fW0j-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250906/202509062340.wX64fW0j-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509062340.wX64fW0j-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/pinctrl/aspeed/pinctrl-aspeed.h:15,
from drivers/pinctrl/aspeed/pinctrl-aspeed-g7-soc1.c:18:
>> drivers/pinctrl/aspeed/pinmux-aspeed.h:741:26: warning: 'group_pins_LTPI_I2C3' defined but not used [-Wunused-const-variable=]
741 | #define GROUP_SYM(group) group_pins_ ## group
| ^~~~~~~~~~~
drivers/pinctrl/aspeed/pinmux-aspeed.h:743:26: note: in expansion of macro 'GROUP_SYM'
743 | static const int GROUP_SYM(group)[] = { __VA_ARGS__ }
| ^~~~~~~~~
drivers/pinctrl/aspeed/pinctrl-aspeed-g7-soc1.c:479:1: note: in expansion of macro 'GROUP_DECL'
479 | GROUP_DECL(LTPI_I2C3, J9, J10);
| ^~~~~~~~~~
>> drivers/pinctrl/aspeed/pinmux-aspeed.h:741:26: warning: 'group_pins_LTPI_I2C2' defined but not used [-Wunused-const-variable=]
741 | #define GROUP_SYM(group) group_pins_ ## group
| ^~~~~~~~~~~
drivers/pinctrl/aspeed/pinmux-aspeed.h:743:26: note: in expansion of macro 'GROUP_SYM'
743 | static const int GROUP_SYM(group)[] = { __VA_ARGS__ }
| ^~~~~~~~~
drivers/pinctrl/aspeed/pinctrl-aspeed-g7-soc1.c:478:1: note: in expansion of macro 'GROUP_DECL'
478 | GROUP_DECL(LTPI_I2C2, H10, H11);
| ^~~~~~~~~~
>> drivers/pinctrl/aspeed/pinmux-aspeed.h:741:26: warning: 'group_pins_LTPI_I2C1' defined but not used [-Wunused-const-variable=]
741 | #define GROUP_SYM(group) group_pins_ ## group
| ^~~~~~~~~~~
drivers/pinctrl/aspeed/pinmux-aspeed.h:743:26: note: in expansion of macro 'GROUP_SYM'
743 | static const int GROUP_SYM(group)[] = { __VA_ARGS__ }
| ^~~~~~~~~
drivers/pinctrl/aspeed/pinctrl-aspeed-g7-soc1.c:477:1: note: in expansion of macro 'GROUP_DECL'
477 | GROUP_DECL(LTPI_I2C1, H8, H9);
| ^~~~~~~~~~
>> drivers/pinctrl/aspeed/pinmux-aspeed.h:741:26: warning: 'group_pins_LTPI_I2C0' defined but not used [-Wunused-const-variable=]
741 | #define GROUP_SYM(group) group_pins_ ## group
| ^~~~~~~~~~~
drivers/pinctrl/aspeed/pinmux-aspeed.h:743:26: note: in expansion of macro 'GROUP_SYM'
743 | static const int GROUP_SYM(group)[] = { __VA_ARGS__ }
| ^~~~~~~~~
drivers/pinctrl/aspeed/pinctrl-aspeed-g7-soc1.c:476:1: note: in expansion of macro 'GROUP_DECL'
476 | GROUP_DECL(LTPI_I2C0, G11, H7);
| ^~~~~~~~~~
vim +/group_pins_LTPI_I2C3 +741 drivers/pinctrl/aspeed/pinmux-aspeed.h
efa5623981b72f Andrew Jeffery 2019-06-28 655
7b388970816665 Andrew Jeffery 2019-07-29 656 #define PIN_DECL_(pin, ...) \
efa5623981b72f Andrew Jeffery 2019-06-28 657 static const struct aspeed_sig_expr **PIN_EXPRS_SYM(pin)[] = \
efa5623981b72f Andrew Jeffery 2019-06-28 658 { __VA_ARGS__, NULL }; \
efa5623981b72f Andrew Jeffery 2019-06-28 659 static const struct aspeed_pin_desc PIN_SYM(pin) = \
efa5623981b72f Andrew Jeffery 2019-06-28 660 { #pin, PIN_EXPRS_PTR(pin) }
efa5623981b72f Andrew Jeffery 2019-06-28 661
efa5623981b72f Andrew Jeffery 2019-06-28 662 /**
efa5623981b72f Andrew Jeffery 2019-06-28 663 * Declare a single signal pin
efa5623981b72f Andrew Jeffery 2019-06-28 664 *
efa5623981b72f Andrew Jeffery 2019-06-28 665 * @pin: The pin number
efa5623981b72f Andrew Jeffery 2019-06-28 666 * @other: Macro name for "other" functionality (subjected to stringification)
efa5623981b72f Andrew Jeffery 2019-06-28 667 * @sig: Macro name for the signal (subjected to stringification)
efa5623981b72f Andrew Jeffery 2019-06-28 668 *
efa5623981b72f Andrew Jeffery 2019-06-28 669 * For example:
efa5623981b72f Andrew Jeffery 2019-06-28 670 *
efa5623981b72f Andrew Jeffery 2019-06-28 671 * #define E3 80
efa5623981b72f Andrew Jeffery 2019-06-28 672 * SIG_EXPR_LIST_DECL_SINGLE(SCL5, I2C5, I2C5_DESC);
7b388970816665 Andrew Jeffery 2019-07-29 673 * PIN_DECL_1(E3, GPIOK0, SCL5);
efa5623981b72f Andrew Jeffery 2019-06-28 674 */
7b388970816665 Andrew Jeffery 2019-07-29 675 #define PIN_DECL_1(pin, other, sig) \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 676 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 677 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 678 SIG_EXPR_LIST_PTR(pin, other))
efa5623981b72f Andrew Jeffery 2019-06-28 679
efa5623981b72f Andrew Jeffery 2019-06-28 680 /**
efa5623981b72f Andrew Jeffery 2019-06-28 681 * Single signal, single function pin declaration
efa5623981b72f Andrew Jeffery 2019-06-28 682 *
efa5623981b72f Andrew Jeffery 2019-06-28 683 * @pin: The pin number
efa5623981b72f Andrew Jeffery 2019-06-28 684 * @other: Macro name for "other" functionality (subjected to stringification)
efa5623981b72f Andrew Jeffery 2019-06-28 685 * @sig: Macro name for the signal (subjected to stringification)
efa5623981b72f Andrew Jeffery 2019-06-28 686 * @...: Signal descriptors that define the function expression
efa5623981b72f Andrew Jeffery 2019-06-28 687 *
efa5623981b72f Andrew Jeffery 2019-06-28 688 * For example:
efa5623981b72f Andrew Jeffery 2019-06-28 689 *
efa5623981b72f Andrew Jeffery 2019-06-28 690 * SSSF_PIN_DECL(A4, GPIOA2, TIMER3, SIG_DESC_SET(SCU80, 2));
efa5623981b72f Andrew Jeffery 2019-06-28 691 */
efa5623981b72f Andrew Jeffery 2019-06-28 692 #define SSSF_PIN_DECL(pin, other, sig, ...) \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 693 SIG_EXPR_LIST_DECL_SESG(pin, sig, sig, __VA_ARGS__); \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 694 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 695 PIN_DECL_(pin, SIG_EXPR_LIST_PTR(pin, sig), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 696 SIG_EXPR_LIST_PTR(pin, other)); \
efa5623981b72f Andrew Jeffery 2019-06-28 697 FUNC_GROUP_DECL(sig, pin)
27d1f73670774e Andrew Jeffery 2019-07-29 698 /**
27d1f73670774e Andrew Jeffery 2019-07-29 699 * Declare a two-signal pin
27d1f73670774e Andrew Jeffery 2019-07-29 700 *
27d1f73670774e Andrew Jeffery 2019-07-29 701 * @pin: The pin number
27d1f73670774e Andrew Jeffery 2019-07-29 702 * @other: Macro name for "other" functionality (subjected to stringification)
27d1f73670774e Andrew Jeffery 2019-07-29 703 * @high: Macro name for the highest priority signal functions
27d1f73670774e Andrew Jeffery 2019-07-29 704 * @low: Macro name for the low signal functions
27d1f73670774e Andrew Jeffery 2019-07-29 705 *
27d1f73670774e Andrew Jeffery 2019-07-29 706 * For example:
27d1f73670774e Andrew Jeffery 2019-07-29 707 *
27d1f73670774e Andrew Jeffery 2019-07-29 708 * #define A8 56
27d1f73670774e Andrew Jeffery 2019-07-29 709 * SIG_EXPR_DECL(ROMD8, ROM16, SIG_DESC_SET(SCU90, 6));
27d1f73670774e Andrew Jeffery 2019-07-29 710 * SIG_EXPR_DECL(ROMD8, ROM16S, SIG_DESC_SET(HW_STRAP1, 4),
27d1f73670774e Andrew Jeffery 2019-07-29 711 * { HW_STRAP1, GENMASK(1, 0), 0, 0 });
27d1f73670774e Andrew Jeffery 2019-07-29 712 * SIG_EXPR_LIST_DECL(ROMD8, SIG_EXPR_PTR(ROMD8, ROM16),
27d1f73670774e Andrew Jeffery 2019-07-29 713 * SIG_EXPR_PTR(ROMD8, ROM16S));
27d1f73670774e Andrew Jeffery 2019-07-29 714 * SIG_EXPR_LIST_DECL_SINGLE(NCTS6, NCTS6, SIG_DESC_SET(SCU90, 7));
27d1f73670774e Andrew Jeffery 2019-07-29 715 * PIN_DECL_2(A8, GPIOH0, ROMD8, NCTS6);
27d1f73670774e Andrew Jeffery 2019-07-29 716 */
27d1f73670774e Andrew Jeffery 2019-07-29 717 #define PIN_DECL_2(pin, other, high, low) \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 718 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
27d1f73670774e Andrew Jeffery 2019-07-29 719 PIN_DECL_(pin, \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 720 SIG_EXPR_LIST_PTR(pin, high), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 721 SIG_EXPR_LIST_PTR(pin, low), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 722 SIG_EXPR_LIST_PTR(pin, other))
27d1f73670774e Andrew Jeffery 2019-07-29 723
27d1f73670774e Andrew Jeffery 2019-07-29 724 #define PIN_DECL_3(pin, other, high, medium, low) \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 725 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
27d1f73670774e Andrew Jeffery 2019-07-29 726 PIN_DECL_(pin, \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 727 SIG_EXPR_LIST_PTR(pin, high), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 728 SIG_EXPR_LIST_PTR(pin, medium), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 729 SIG_EXPR_LIST_PTR(pin, low), \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 730 SIG_EXPR_LIST_PTR(pin, other))
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 731
0b9714845935ae Steven Lee 2021-05-25 732 #define PIN_DECL_4(pin, other, prio1, prio2, prio3, prio4) \
0b9714845935ae Steven Lee 2021-05-25 733 SIG_EXPR_LIST_DECL_SESG(pin, other, other); \
0b9714845935ae Steven Lee 2021-05-25 734 PIN_DECL_(pin, \
0b9714845935ae Steven Lee 2021-05-25 735 SIG_EXPR_LIST_PTR(pin, prio1), \
0b9714845935ae Steven Lee 2021-05-25 736 SIG_EXPR_LIST_PTR(pin, prio2), \
0b9714845935ae Steven Lee 2021-05-25 737 SIG_EXPR_LIST_PTR(pin, prio3), \
0b9714845935ae Steven Lee 2021-05-25 738 SIG_EXPR_LIST_PTR(pin, prio4), \
0b9714845935ae Steven Lee 2021-05-25 739 SIG_EXPR_LIST_PTR(pin, other))
0b9714845935ae Steven Lee 2021-05-25 740
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 @741 #define GROUP_SYM(group) group_pins_ ## group
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 742 #define GROUP_DECL(group, ...) \
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 743 static const int GROUP_SYM(group)[] = { __VA_ARGS__ }
e7a96b0b7d1669 Andrew Jeffery 2019-07-29 744
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-06 16:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-04 10:33 [PATCH v2 0/4] Add pinctrl support for AST2700 SoC Billy Tsai
2025-09-04 10:33 ` [PATCH v2 1/4] dt-bindings: mfd: aspeed,ast2x00-scu: Support ast2700 pinctrl Billy Tsai
2025-09-05 8:13 ` Krzysztof Kozlowski
2025-09-04 10:33 ` [PATCH v2 2/4] dt-bindings: pinctrl: aspeed: Add support for AST27xx Billy Tsai
2025-09-05 8:16 ` Krzysztof Kozlowski
2025-09-04 10:34 ` [PATCH v2 3/4] pinctrl: aspeed: Add AST2700 pinmux support Billy Tsai
2025-09-06 15:59 ` kernel test robot [this message]
2025-09-25 4:48 ` Andrew Jeffery
2025-11-11 2:24 ` Billy Tsai
2025-09-04 10:34 ` [PATCH v2 4/4] arm64: dts: add AST27xx pinctrl configuration nodes Billy Tsai
2025-09-04 14:26 ` Rob Herring
2025-09-05 8:12 ` [PATCH v2 0/4] Add pinctrl support for AST2700 SoC Krzysztof Kozlowski
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=202509062340.wX64fW0j-lkp@intel.com \
--to=lkp@intel.com \
--cc=BMC-SW@aspeedtech.com \
--cc=andrew@codeconstruct.com.au \
--cc=billy_tsai@aspeedtech.com \
--cc=brgl@bgdev.pl \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=openbmc@lists.ozlabs.org \
--cc=robh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).