Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Prathamesh Shete <pshete@nvidia.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	linux-gpio@vger.kernel.org, Linus Walleij <linusw@kernel.org>,
	Jon Hunter <jonathanh@nvidia.com>
Subject: [linusw-pinctrl:devel 70/81] drivers/pinctrl/tegra/pinctrl-tegra238.c:1077:27: warning: unused variable 'soc_gpio49_pee2_pins'
Date: Fri, 29 May 2026 00:10:10 +0800	[thread overview]
Message-ID: <202605290016.yjxpI0nU-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   0524a508b2cf7a3819406cd10d43d6e30fa31004
commit: 25cac7292d49f4fc5ee352eff7c8874d1b296380 [70/81] pinctrl: tegra: Add Tegra238 pinmux driver
config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260529/202605290016.yjxpI0nU-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9409c07de6378507397ecdb6f05f628f58110112)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260529/202605290016.yjxpI0nU-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/202605290016.yjxpI0nU-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1077:27: warning: unused variable 'soc_gpio49_pee2_pins' [-Wunused-const-variable]
    1077 | static const unsigned int soc_gpio49_pee2_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1081:27: warning: unused variable 'soc_gpio82_pee3_pins' [-Wunused-const-variable]
    1081 | static const unsigned int soc_gpio82_pee3_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1085:27: warning: unused variable 'soc_gpio50_pee4_pins' [-Wunused-const-variable]
    1085 | static const unsigned int soc_gpio50_pee4_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1089:27: warning: unused variable 'soc_gpio83_pee5_pins' [-Wunused-const-variable]
    1089 | static const unsigned int soc_gpio83_pee5_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1093:27: warning: unused variable 'soc_gpio69_pff0_pins' [-Wunused-const-variable]
    1093 | static const unsigned int soc_gpio69_pff0_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1097:27: warning: unused variable 'soc_gpio70_pff1_pins' [-Wunused-const-variable]
    1097 | static const unsigned int soc_gpio70_pff1_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1101:27: warning: unused variable 'soc_gpio71_pff2_pins' [-Wunused-const-variable]
    1101 | static const unsigned int soc_gpio71_pff2_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1105:27: warning: unused variable 'soc_gpio72_pff3_pins' [-Wunused-const-variable]
    1105 | static const unsigned int soc_gpio72_pff3_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1109:27: warning: unused variable 'soc_gpio73_pff4_pins' [-Wunused-const-variable]
    1109 | static const unsigned int soc_gpio73_pff4_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1113:27: warning: unused variable 'soc_gpio74_pff5_pins' [-Wunused-const-variable]
    1113 | static const unsigned int soc_gpio74_pff5_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1117:27: warning: unused variable 'soc_gpio80_pff6_pins' [-Wunused-const-variable]
    1117 | static const unsigned int soc_gpio80_pff6_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1121:27: warning: unused variable 'soc_gpio76_pff7_pins' [-Wunused-const-variable]
    1121 | static const unsigned int soc_gpio76_pff7_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1125:27: warning: unused variable 'soc_gpio77_pgg0_pins' [-Wunused-const-variable]
    1125 | static const unsigned int soc_gpio77_pgg0_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1129:27: warning: unused variable 'soc_gpio84_pgg1_pins' [-Wunused-const-variable]
    1129 | static const unsigned int soc_gpio84_pgg1_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1133:27: warning: unused variable 'uart2_tx_pgg2_pins' [-Wunused-const-variable]
    1133 | static const unsigned int uart2_tx_pgg2_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1137:27: warning: unused variable 'uart2_rx_pgg3_pins' [-Wunused-const-variable]
    1137 | static const unsigned int uart2_rx_pgg3_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1141:27: warning: unused variable 'uart2_rts_pgg4_pins' [-Wunused-const-variable]
    1141 | static const unsigned int uart2_rts_pgg4_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1145:27: warning: unused variable 'uart2_cts_pgg5_pins' [-Wunused-const-variable]
    1145 | static const unsigned int uart2_cts_pgg5_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1149:27: warning: unused variable 'soc_gpio85_pgg6_pins' [-Wunused-const-variable]
    1149 | static const unsigned int soc_gpio85_pgg6_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
>> drivers/pinctrl/tegra/pinctrl-tegra238.c:1153:27: warning: unused variable 'uart5_tx_pgg7_pins' [-Wunused-const-variable]
    1153 | static const unsigned int uart5_tx_pgg7_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~
   drivers/pinctrl/tegra/pinctrl-tegra238.c:1157:27: warning: unused variable 'uart5_rx_phh0_pins' [-Wunused-const-variable]
    1157 | static const unsigned int uart5_rx_phh0_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~
   drivers/pinctrl/tegra/pinctrl-tegra238.c:1161:27: warning: unused variable 'uart5_rts_phh1_pins' [-Wunused-const-variable]
    1161 | static const unsigned int uart5_rts_phh1_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/tegra/pinctrl-tegra238.c:1165:27: warning: unused variable 'uart5_cts_phh2_pins' [-Wunused-const-variable]
    1165 | static const unsigned int uart5_cts_phh2_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~
   drivers/pinctrl/tegra/pinctrl-tegra238.c:1169:27: warning: unused variable 'soc_gpio86_phh3_pins' [-Wunused-const-variable]
    1169 | static const unsigned int soc_gpio86_phh3_pins[] = {
         |                           ^~~~~~~~~~~~~~~~~~~~
   24 warnings generated.


vim +/soc_gpio49_pee2_pins +1077 drivers/pinctrl/tegra/pinctrl-tegra238.c

  1076	
> 1077	static const unsigned int soc_gpio49_pee2_pins[] = {
  1078		TEGRA_PIN_SOC_GPIO49_PEE2,
  1079	};
  1080	
> 1081	static const unsigned int soc_gpio82_pee3_pins[] = {
  1082		TEGRA_PIN_SOC_GPIO82_PEE3,
  1083	};
  1084	
> 1085	static const unsigned int soc_gpio50_pee4_pins[] = {
  1086		TEGRA_PIN_SOC_GPIO50_PEE4,
  1087	};
  1088	
> 1089	static const unsigned int soc_gpio83_pee5_pins[] = {
  1090		TEGRA_PIN_SOC_GPIO83_PEE5,
  1091	};
  1092	
> 1093	static const unsigned int soc_gpio69_pff0_pins[] = {
  1094		TEGRA_PIN_SOC_GPIO69_PFF0,
  1095	};
  1096	
> 1097	static const unsigned int soc_gpio70_pff1_pins[] = {
  1098		TEGRA_PIN_SOC_GPIO70_PFF1,
  1099	};
  1100	
> 1101	static const unsigned int soc_gpio71_pff2_pins[] = {
  1102		TEGRA_PIN_SOC_GPIO71_PFF2,
  1103	};
  1104	
> 1105	static const unsigned int soc_gpio72_pff3_pins[] = {
  1106		TEGRA_PIN_SOC_GPIO72_PFF3,
  1107	};
  1108	
> 1109	static const unsigned int soc_gpio73_pff4_pins[] = {
  1110		TEGRA_PIN_SOC_GPIO73_PFF4,
  1111	};
  1112	
> 1113	static const unsigned int soc_gpio74_pff5_pins[] = {
  1114		TEGRA_PIN_SOC_GPIO74_PFF5,
  1115	};
  1116	
> 1117	static const unsigned int soc_gpio80_pff6_pins[] = {
  1118		TEGRA_PIN_SOC_GPIO80_PFF6,
  1119	};
  1120	
> 1121	static const unsigned int soc_gpio76_pff7_pins[] = {
  1122		TEGRA_PIN_SOC_GPIO76_PFF7,
  1123	};
  1124	
> 1125	static const unsigned int soc_gpio77_pgg0_pins[] = {
  1126		TEGRA_PIN_SOC_GPIO77_PGG0,
  1127	};
  1128	
> 1129	static const unsigned int soc_gpio84_pgg1_pins[] = {
  1130		TEGRA_PIN_SOC_GPIO84_PGG1,
  1131	};
  1132	
> 1133	static const unsigned int uart2_tx_pgg2_pins[] = {
  1134		TEGRA_PIN_UART2_TX_PGG2,
  1135	};
  1136	
> 1137	static const unsigned int uart2_rx_pgg3_pins[] = {
  1138		TEGRA_PIN_UART2_RX_PGG3,
  1139	};
  1140	
> 1141	static const unsigned int uart2_rts_pgg4_pins[] = {
  1142		TEGRA_PIN_UART2_RTS_PGG4,
  1143	};
  1144	
> 1145	static const unsigned int uart2_cts_pgg5_pins[] = {
  1146		TEGRA_PIN_UART2_CTS_PGG5,
  1147	};
  1148	
> 1149	static const unsigned int soc_gpio85_pgg6_pins[] = {
  1150		TEGRA_PIN_SOC_GPIO85_PGG6,
  1151	};
  1152	
> 1153	static const unsigned int uart5_tx_pgg7_pins[] = {
  1154		TEGRA_PIN_UART5_TX_PGG7,
  1155	};
  1156	
> 1157	static const unsigned int uart5_rx_phh0_pins[] = {
  1158		TEGRA_PIN_UART5_RX_PHH0,
  1159	};
  1160	
> 1161	static const unsigned int uart5_rts_phh1_pins[] = {
  1162		TEGRA_PIN_UART5_RTS_PHH1,
  1163	};
  1164	
> 1165	static const unsigned int uart5_cts_phh2_pins[] = {
  1166		TEGRA_PIN_UART5_CTS_PHH2,
  1167	};
  1168	
> 1169	static const unsigned int soc_gpio86_phh3_pins[] = {
  1170		TEGRA_PIN_SOC_GPIO86_PHH3,
  1171	};
  1172	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-05-28 16:10 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=202605290016.yjxpI0nU-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jonathanh@nvidia.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=pshete@nvidia.com \
    /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