public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
	Linus Walleij	 <linusw@kernel.org>,
	Lorenzo Bianconi <lorenzo@kernel.org>,
	Sean Wang	 <sean.wang@kernel.org>,
	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
Subject: Re: [PATCH 3/7] pinctrl: ingenic: Fix type in .pin_config_group_get() callback
Date: Mon, 04 May 2026 12:26:11 +0200	[thread overview]
Message-ID: <3eeb3094f1a763ec42a24f0d0edaa0321397543b.camel@crapouillou.net> (raw)
In-Reply-To: <9f50c234c44af9075b5252ee7e59452ed2179b27.1777562725.git.geert+renesas@glider.be>

Hi Geert,

Le jeudi 30 avril 2026 à 17:33 +0200, Geert Uytterhoeven a écrit :
> 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.
> 
> While Ingenic is a 32-bit platform, it is still better to use the
> correct type, to serve as an example.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Acked-by: Paul Cercueil <paul@crapouillou.net>

Cheers,
-Paul

> ---
>  drivers/pinctrl/pinctrl-ingenic.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/pinctrl-ingenic.c
> b/drivers/pinctrl/pinctrl-ingenic.c
> index c7f14546de0528de..29d7f4e54bc7b126 100644
> --- a/drivers/pinctrl/pinctrl-ingenic.c
> +++ b/drivers/pinctrl/pinctrl-ingenic.c
> @@ -4334,7 +4334,8 @@ static int ingenic_pinconf_group_get(struct
> pinctrl_dev *pctldev,
>  		unsigned int group, unsigned long *config)
>  {
>  	const unsigned int *pins;
> -	unsigned int i, npins, old = 0;
> +	unsigned int i, npins;
> +	unsigned long old = 0;
>  	int ret;
>  
>  	ret = pinctrl_generic_get_group_pins(pctldev, group, &pins,
> &npins);


  parent reply	other threads:[~2026-05-04 10:26 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 ` [PATCH 2/7] pinctrl: equilibrium: " Geert Uytterhoeven
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 [this message]
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=3eeb3094f1a763ec42a24f0d0edaa0321397543b.camel@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=geert+renesas@glider.be \
    --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=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