From: Geert Uytterhoeven <geert+renesas@glider.be>
To: Linus Walleij <linusw@kernel.org>,
Lorenzo Bianconi <lorenzo@kernel.org>,
Sean Wang <sean.wang@kernel.org>,
Paul Cercueil <paul@crapouillou.net>,
Tony Lindgren <tony@atomide.com>,
Haojian Zhuang <haojian.zhuang@linaro.org>,
Matthias Brugger <matthias.bgg@gmail.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@collabora.com>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Cc: linux-gpio@vger.kernel.org, linux-mediatek@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
linux-renesas-soc@vger.kernel.org,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 2/7] pinctrl: equilibrium: Fix type in .pin_config_group_get() callback
Date: Thu, 30 Apr 2026 17:33:13 +0200 [thread overview]
Message-ID: <9364b13288faae01e53b65712150bab22348b14b.1777562725.git.geert+renesas@glider.be> (raw)
In-Reply-To: <cover.1777562725.git.geert+renesas@glider.be>
On 64-bit platforms, "unsigned long" is 64-bit. Hence checking if all
"unsigned long" configuration values are equal should be done using an
"unsigned long" temporary.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/pinctrl-equilibrium.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-equilibrium.c b/drivers/pinctrl/pinctrl-equilibrium.c
index ba1c867b7b891abb..349eb944b4ac880e 100644
--- a/drivers/pinctrl/pinctrl-equilibrium.c
+++ b/drivers/pinctrl/pinctrl-equilibrium.c
@@ -532,8 +532,9 @@ static int eqbr_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin,
static int eqbr_pinconf_group_get(struct pinctrl_dev *pctldev,
unsigned int group, unsigned long *config)
{
- unsigned int i, npins, old = 0;
const unsigned int *pins;
+ unsigned int i, npins;
+ unsigned long old = 0;
int ret;
ret = pinctrl_generic_get_group_pins(pctldev, group, &pins, &npins);
--
2.43.0
next prev parent reply other threads:[~2026-04-30 15:33 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-30 15:33 [PATCH 0/7] pinctrl: Fix types in .pin_config_group_get() callbacks Geert Uytterhoeven
2026-04-30 15:33 ` [PATCH 1/7] pinctrl: airoha: Fix type in .pin_config_group_get() callback Geert Uytterhoeven
2026-04-30 15:33 ` Geert Uytterhoeven [this message]
2026-04-30 15:33 ` [PATCH 3/7] pinctrl: ingenic: " Geert Uytterhoeven
2026-05-02 14:48 ` H. Nikolaus Schaller
2026-05-04 10:26 ` Paul Cercueil
2026-04-30 15:33 ` [PATCH 4/7] pinctrl: mediatek: moore: " Geert Uytterhoeven
2026-04-30 15:33 ` [PATCH 5/7] pinctrl: renesas: rzg2l: " Geert Uytterhoeven
2026-05-05 10:48 ` Prabhakar Mahadev Lad
2026-04-30 15:33 ` [PATCH 6/7] pinctrl: renesas: rzv2m: " Geert Uytterhoeven
2026-04-30 15:33 ` [PATCH 7/7] pinctrl: single: " Geert Uytterhoeven
2026-05-05 10:45 ` [PATCH 0/7] pinctrl: Fix types in .pin_config_group_get() callbacks Linus Walleij
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=9364b13288faae01e53b65712150bab22348b14b.1777562725.git.geert+renesas@glider.be \
--to=geert+renesas@glider.be \
--cc=angelogioacchino.delregno@collabora.com \
--cc=haojian.zhuang@linaro.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lorenzo@kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=paul@crapouillou.net \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=sean.wang@kernel.org \
--cc=tony@atomide.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).