linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 04/17] pinctrl: Constify pointers to 'pinctrl_desc'
       [not found] ` <20250528-pinctrl-const-desc-v1-4-76fe97899945@linaro.org>
@ 2025-05-28 12:47   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2025-05-28 12:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Linus Walleij, Basavaraj Natikar, Shyam Sundar S K,
	Andrew Jeffery, Joel Stanley, Avi Fishman, Tomer Maimon,
	Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	David Rhodes, Richard Fitzgerald, Charles Keepax,
	Lorenzo Bianconi, Sean Wang, Jesper Nilsson, Lars Persson,
	Manivannan Sadhasivam, Damien Le Moal, Vladimir Zapolskiy,
	Michal Simek, Emil Renner Berthing, Jianlong Huang, Hal Feng,
	Matthias Brugger, AngeloGioacchino Del Regno, Alexandre Belloni,
	Maxime Coquelin, Alexandre Torgue, linux-gpio, linux-kernel,
	linux-aspeed, openbmc, linux-arm-kernel, linux-renesas-soc,
	linux-sound, patches, linux-mediatek, linux-arm-kernel,
	linux-riscv, linux-rtc, linux-stm32

On Wed, 28 May 2025 at 12:41, Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
> Pin controller core code only stores the pointer to
> 'struct pinctrl_desc' and does not modify it anywhere.  The pointer can
> be changed to pointer to const which makes the code safer, explicit and
> later allows constifying 'pinctrl_desc' allocations in individual
> drivers.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 16/17] pinctrl: Constify static 'pinctrl_desc'
       [not found] ` <20250528-pinctrl-const-desc-v1-16-76fe97899945@linaro.org>
@ 2025-05-28 12:51   ` Lorenzo Bianconi
  2025-05-28 16:41   ` Charles Keepax
  1 sibling, 0 replies; 7+ messages in thread
From: Lorenzo Bianconi @ 2025-05-28 12:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Linus Walleij, Basavaraj Natikar, Shyam Sundar S K,
	Andrew Jeffery, Joel Stanley, Avi Fishman, Tomer Maimon,
	Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Geert Uytterhoeven, David Rhodes, Richard Fitzgerald,
	Charles Keepax, Sean Wang, Jesper Nilsson, Lars Persson,
	Manivannan Sadhasivam, Damien Le Moal, Vladimir Zapolskiy,
	Michal Simek, Emil Renner Berthing, Jianlong Huang, Hal Feng,
	Matthias Brugger, AngeloGioacchino Del Regno, Alexandre Belloni,
	Maxime Coquelin, Alexandre Torgue, linux-gpio, linux-kernel,
	linux-aspeed, openbmc, linux-arm-kernel, linux-renesas-soc,
	linux-sound, patches, linux-mediatek, linux-arm-kernel,
	linux-riscv, linux-rtc, linux-stm32

[-- Attachment #1: Type: text/plain, Size: 7720 bytes --]

> The local static 'struct pinctrl_desc' is not modified, so can be made
> const for code safety.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

For airoha bits:

Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>

> ---
>  drivers/pinctrl/berlin/berlin.c                    | 2 +-
>  drivers/pinctrl/cirrus/pinctrl-cs42l43.c           | 2 +-
>  drivers/pinctrl/mediatek/pinctrl-airoha.c          | 2 +-
>  drivers/pinctrl/pinctrl-artpec6.c                  | 2 +-
>  drivers/pinctrl/pinctrl-bm1880.c                   | 2 +-
>  drivers/pinctrl/pinctrl-k210.c                     | 2 +-
>  drivers/pinctrl/pinctrl-lpc18xx.c                  | 2 +-
>  drivers/pinctrl/pinctrl-mlxbf3.c                   | 2 +-
>  drivers/pinctrl/pinctrl-tb10x.c                    | 2 +-
>  drivers/pinctrl/pinctrl-zynq.c                     | 2 +-
>  drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c | 2 +-
>  11 files changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/drivers/pinctrl/berlin/berlin.c b/drivers/pinctrl/berlin/berlin.c
> index c372a2a24be4bb80b1f2475ef8512171c8e1326f..e5a35b803ce66d247c5e5ad78e6677570a1add60 100644
> --- a/drivers/pinctrl/berlin/berlin.c
> +++ b/drivers/pinctrl/berlin/berlin.c
> @@ -283,7 +283,7 @@ static int berlin_pinctrl_build_state(struct platform_device *pdev)
>  	return 0;
>  }
>  
> -static struct pinctrl_desc berlin_pctrl_desc = {
> +static const struct pinctrl_desc berlin_pctrl_desc = {
>  	.name		= "berlin-pinctrl",
>  	.pctlops	= &berlin_pinctrl_ops,
>  	.pmxops		= &berlin_pinmux_ops,
> diff --git a/drivers/pinctrl/cirrus/pinctrl-cs42l43.c b/drivers/pinctrl/cirrus/pinctrl-cs42l43.c
> index 628b60ccc2b07dc77e36da8919436fa348749e0c..a90beb986f5bb707c54552e1333802943a4b04bc 100644
> --- a/drivers/pinctrl/cirrus/pinctrl-cs42l43.c
> +++ b/drivers/pinctrl/cirrus/pinctrl-cs42l43.c
> @@ -448,7 +448,7 @@ static const struct pinconf_ops cs42l43_pin_conf_ops = {
>  	.pin_config_group_set	= cs42l43_pin_config_group_set,
>  };
>  
> -static struct pinctrl_desc cs42l43_pin_desc = {
> +static const struct pinctrl_desc cs42l43_pin_desc = {
>  	.name		= "cs42l43-pinctrl",
>  	.owner		= THIS_MODULE,
>  
> diff --git a/drivers/pinctrl/mediatek/pinctrl-airoha.c b/drivers/pinctrl/mediatek/pinctrl-airoha.c
> index b97b28ebb37a6ec092360f8ea404dd67e6c43eac..ccd2b512e8365b3a5af0bb223329f39119bc7078 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-airoha.c
> +++ b/drivers/pinctrl/mediatek/pinctrl-airoha.c
> @@ -2852,7 +2852,7 @@ static const struct pinctrl_ops airoha_pctlops = {
>  	.dt_free_map = pinconf_generic_dt_free_map,
>  };
>  
> -static struct pinctrl_desc airoha_pinctrl_desc = {
> +static const struct pinctrl_desc airoha_pinctrl_desc = {
>  	.name = KBUILD_MODNAME,
>  	.owner = THIS_MODULE,
>  	.pctlops = &airoha_pctlops,
> diff --git a/drivers/pinctrl/pinctrl-artpec6.c b/drivers/pinctrl/pinctrl-artpec6.c
> index 717f9592b28b51737e67aafc93664b1345511908..af67057128ff1e9e766b958fece9c71518c89081 100644
> --- a/drivers/pinctrl/pinctrl-artpec6.c
> +++ b/drivers/pinctrl/pinctrl-artpec6.c
> @@ -907,7 +907,7 @@ static const struct pinconf_ops artpec6_pconf_ops = {
>  	.pin_config_group_set	= artpec6_pconf_group_set,
>  };
>  
> -static struct pinctrl_desc artpec6_desc = {
> +static const struct pinctrl_desc artpec6_desc = {
>  	.name	 = "artpec6-pinctrl",
>  	.owner	 = THIS_MODULE,
>  	.pins	 = artpec6_pins,
> diff --git a/drivers/pinctrl/pinctrl-bm1880.c b/drivers/pinctrl/pinctrl-bm1880.c
> index b0000fe5b31dfbcd6af6eaf0c01029f00cbd205b..387798fb09be51cabd5cb76e0d90a28b1d363050 100644
> --- a/drivers/pinctrl/pinctrl-bm1880.c
> +++ b/drivers/pinctrl/pinctrl-bm1880.c
> @@ -1298,7 +1298,7 @@ static const struct pinmux_ops bm1880_pinmux_ops = {
>  	.set_mux = bm1880_pinmux_set_mux,
>  };
>  
> -static struct pinctrl_desc bm1880_desc = {
> +static const struct pinctrl_desc bm1880_desc = {
>  	.name = "bm1880_pinctrl",
>  	.pins = bm1880_pins,
>  	.npins = ARRAY_SIZE(bm1880_pins),
> diff --git a/drivers/pinctrl/pinctrl-k210.c b/drivers/pinctrl/pinctrl-k210.c
> index eddb01796a83eb86c8c5bcf6788c999e8bf2926a..66c04120c29deccf53b21cbf8705f1d10c74ace5 100644
> --- a/drivers/pinctrl/pinctrl-k210.c
> +++ b/drivers/pinctrl/pinctrl-k210.c
> @@ -879,7 +879,7 @@ static const struct pinctrl_ops k210_pinctrl_ops = {
>  	.dt_free_map = pinconf_generic_dt_free_map,
>  };
>  
> -static struct pinctrl_desc k210_pinctrl_desc = {
> +static const struct pinctrl_desc k210_pinctrl_desc = {
>  	.name = "k210-pinctrl",
>  	.pins = k210_pins,
>  	.npins = K210_NPINS,
> diff --git a/drivers/pinctrl/pinctrl-lpc18xx.c b/drivers/pinctrl/pinctrl-lpc18xx.c
> index 0f5a7bed2f81b731714e3b65908df23f2ffdfd63..5e0201768323521754e7ecd27e878a81925c18a6 100644
> --- a/drivers/pinctrl/pinctrl-lpc18xx.c
> +++ b/drivers/pinctrl/pinctrl-lpc18xx.c
> @@ -1257,7 +1257,7 @@ static const struct pinctrl_ops lpc18xx_pctl_ops = {
>  	.dt_free_map		= pinctrl_utils_free_map,
>  };
>  
> -static struct pinctrl_desc lpc18xx_scu_desc = {
> +static const struct pinctrl_desc lpc18xx_scu_desc = {
>  	.name = "lpc18xx/43xx-scu",
>  	.pins = lpc18xx_pins,
>  	.npins = ARRAY_SIZE(lpc18xx_pins),
> diff --git a/drivers/pinctrl/pinctrl-mlxbf3.c b/drivers/pinctrl/pinctrl-mlxbf3.c
> index ffb5dda364dc81808cfd5a168ce3f1e9f119357d..fcd9d46de89fb3e5215784109ba31b171fd15448 100644
> --- a/drivers/pinctrl/pinctrl-mlxbf3.c
> +++ b/drivers/pinctrl/pinctrl-mlxbf3.c
> @@ -231,7 +231,7 @@ static const struct pinmux_ops mlxbf3_pmx_ops = {
>  	.gpio_request_enable = mlxbf3_gpio_request_enable,
>  };
>  
> -static struct pinctrl_desc mlxbf3_pin_desc = {
> +static const struct pinctrl_desc mlxbf3_pin_desc = {
>  	.name = "pinctrl-mlxbf3",
>  	.pins = mlxbf3_pins,
>  	.npins = ARRAY_SIZE(mlxbf3_pins),
> diff --git a/drivers/pinctrl/pinctrl-tb10x.c b/drivers/pinctrl/pinctrl-tb10x.c
> index d6bb8f58978df1577db24f96c2174f47962b5520..2d2e9f697ff99b4209dda8d5511f478a18b26a21 100644
> --- a/drivers/pinctrl/pinctrl-tb10x.c
> +++ b/drivers/pinctrl/pinctrl-tb10x.c
> @@ -735,7 +735,7 @@ static const struct pinmux_ops tb10x_pinmux_ops = {
>  	.set_mux = tb10x_pctl_set_mux,
>  };
>  
> -static struct pinctrl_desc tb10x_pindesc = {
> +static const struct pinctrl_desc tb10x_pindesc = {
>  	.name = "TB10x",
>  	.pins = tb10x_pins,
>  	.npins = ARRAY_SIZE(tb10x_pins),
> diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c
> index caa8a2ca3e681718fe213921deca8d130371b122..dcde86fed10db3e2dfebc19cb841ea7f63e74989 100644
> --- a/drivers/pinctrl/pinctrl-zynq.c
> +++ b/drivers/pinctrl/pinctrl-zynq.c
> @@ -1143,7 +1143,7 @@ static const struct pinconf_ops zynq_pinconf_ops = {
>  	.pin_config_group_set = zynq_pinconf_group_set,
>  };
>  
> -static struct pinctrl_desc zynq_desc = {
> +static const struct pinctrl_desc zynq_desc = {
>  	.name = "zynq_pinctrl",
>  	.pins = zynq_pins,
>  	.npins = ARRAY_SIZE(zynq_pins),
> diff --git a/drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c b/drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c
> index 27f99183d994dccb92aac81ca42228bdb9225e87..aeaa0ded7c1e5ee7f9c5e4113bfd208fb844ba7d 100644
> --- a/drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c
> +++ b/drivers/pinctrl/starfive/pinctrl-starfive-jh7100.c
> @@ -898,7 +898,7 @@ static const struct pinconf_ops starfive_pinconf_ops = {
>  	.is_generic = true,
>  };
>  
> -static struct pinctrl_desc starfive_desc = {
> +static const struct pinctrl_desc starfive_desc = {
>  	.name = DRIVER_NAME,
>  	.pins = starfive_pins,
>  	.npins = ARRAY_SIZE(starfive_pins),
> 
> -- 
> 2.45.2
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 16/17] pinctrl: Constify static 'pinctrl_desc'
       [not found] ` <20250528-pinctrl-const-desc-v1-16-76fe97899945@linaro.org>
  2025-05-28 12:51   ` [PATCH 16/17] pinctrl: Constify static 'pinctrl_desc' Lorenzo Bianconi
@ 2025-05-28 16:41   ` Charles Keepax
  1 sibling, 0 replies; 7+ messages in thread
From: Charles Keepax @ 2025-05-28 16:41 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Linus Walleij, Basavaraj Natikar, Shyam Sundar S K,
	Andrew Jeffery, Joel Stanley, Avi Fishman, Tomer Maimon,
	Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Geert Uytterhoeven, David Rhodes, Richard Fitzgerald,
	Lorenzo Bianconi, Sean Wang, Jesper Nilsson, Lars Persson,
	Manivannan Sadhasivam, Damien Le Moal, Vladimir Zapolskiy,
	Michal Simek, Emil Renner Berthing, Jianlong Huang, Hal Feng,
	Matthias Brugger, AngeloGioacchino Del Regno, Alexandre Belloni,
	Maxime Coquelin, Alexandre Torgue, linux-gpio, linux-kernel,
	linux-aspeed, openbmc, linux-arm-kernel, linux-renesas-soc,
	linux-sound, patches, linux-mediatek, linux-arm-kernel,
	linux-riscv, linux-rtc, linux-stm32

On Wed, May 28, 2025 at 12:41:12PM +0200, Krzysztof Kozlowski wrote:
> The local static 'struct pinctrl_desc' is not modified, so can be made
> const for code safety.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

For the cs42l43:

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>

Thanks,
Charles


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 05/17] pinctrl: aspeed: Constify static 'pinctrl_desc'
       [not found] ` <20250528-pinctrl-const-desc-v1-5-76fe97899945@linaro.org>
@ 2025-05-29  0:39   ` Andrew Jeffery
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Jeffery @ 2025-05-29  0:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Linus Walleij, Basavaraj Natikar,
	Shyam Sundar S K, Joel Stanley, Avi Fishman, Tomer Maimon,
	Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Geert Uytterhoeven, David Rhodes, Richard Fitzgerald,
	Charles Keepax, Lorenzo Bianconi, Sean Wang, Jesper Nilsson,
	Lars Persson, Manivannan Sadhasivam, Damien Le Moal,
	Vladimir Zapolskiy, Michal Simek, Emil Renner Berthing,
	Jianlong Huang, Hal Feng, Matthias Brugger,
	AngeloGioacchino Del Regno, Alexandre Belloni, Maxime Coquelin,
	Alexandre Torgue
  Cc: linux-gpio, linux-kernel, linux-aspeed, openbmc, linux-arm-kernel,
	linux-renesas-soc, linux-sound, patches, linux-mediatek,
	linux-arm-kernel, linux-riscv, linux-rtc, linux-stm32

On Wed, 2025-05-28 at 12:41 +0200, Krzysztof Kozlowski wrote:
> The local static 'struct pinctrl_desc' is not modified, so can be made
> const for code safety.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 02/17] pinctrl: Allow compile testing for K210, TB10X and ZYNQ
       [not found] ` <20250528-pinctrl-const-desc-v1-2-76fe97899945@linaro.org>
@ 2025-05-29  6:26   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-05-29  6:26 UTC (permalink / raw)
  To: Linus Walleij, Basavaraj Natikar, Shyam Sundar S K,
	Andrew Jeffery, Joel Stanley, Avi Fishman, Tomer Maimon,
	Tali Perry, Patrick Venture, Nancy Yuen, Benjamin Fair,
	Jonathan Neuschäfer, Rafał Miłecki,
	Broadcom internal kernel review list, Ray Jui, Scott Branden,
	Geert Uytterhoeven, David Rhodes, Richard Fitzgerald,
	Charles Keepax, Lorenzo Bianconi, Sean Wang, Jesper Nilsson,
	Lars Persson, Manivannan Sadhasivam, Damien Le Moal,
	Vladimir Zapolskiy, Michal Simek, Emil Renner Berthing,
	Jianlong Huang, Hal Feng, Matthias Brugger,
	AngeloGioacchino Del Regno, Alexandre Belloni, Maxime Coquelin,
	Alexandre Torgue
  Cc: linux-gpio, linux-kernel, linux-aspeed, openbmc, linux-arm-kernel,
	linux-renesas-soc, linux-sound, patches, linux-mediatek,
	linux-arm-kernel, linux-riscv, linux-rtc, linux-stm32

On 28/05/2025 12:40, Krzysztof Kozlowski wrote:
> Pinctrl drivers for K210, TB10X and ZYNQ do not reference any machine
> headers, thus can be compile tested for increased build coverage.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  drivers/pinctrl/Kconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
> index 33db9104df178e5a3148b60c3c6bd153113385d3..77a5d13e899f8c5251987c2c74df1d05dbd59128 100644
> --- a/drivers/pinctrl/Kconfig
> +++ b/drivers/pinctrl/Kconfig
> @@ -269,7 +269,7 @@ config PINCTRL_INGENIC
>  
>  config PINCTRL_K210
>  	bool "Pinctrl driver for the Canaan Kendryte K210 SoC"
> -	depends on RISCV && SOC_CANAAN_K210 && OF
> +	depends on RISCV && SOC_CANAAN_K210 && OF || COMPILE_TEST
>  	select GENERIC_PINMUX_FUNCTIONS
LKP reported here issue, so there will be v2 of this.


Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 00/17] pinctrl: Constify pointers to 'pinctrl_desc' and more
       [not found] <20250528-pinctrl-const-desc-v1-0-76fe97899945@linaro.org>
                   ` (3 preceding siblings ...)
       [not found] ` <20250528-pinctrl-const-desc-v1-2-76fe97899945@linaro.org>
@ 2025-06-10 12:16 ` Linus Walleij
  2025-06-11  6:10   ` Krzysztof Kozlowski
  4 siblings, 1 reply; 7+ messages in thread
From: Linus Walleij @ 2025-06-10 12:16 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Basavaraj Natikar, Shyam Sundar S K, Andrew Jeffery, Joel Stanley,
	Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
	Nancy Yuen, Benjamin Fair, Jonathan Neuschäfer,
	Rafał Miłecki, Broadcom internal kernel review list,
	Ray Jui, Scott Branden, Geert Uytterhoeven, David Rhodes,
	Richard Fitzgerald, Charles Keepax, Lorenzo Bianconi, Sean Wang,
	Jesper Nilsson, Lars Persson, Manivannan Sadhasivam,
	Damien Le Moal, Vladimir Zapolskiy, Michal Simek,
	Emil Renner Berthing, Jianlong Huang, Hal Feng, Matthias Brugger,
	AngeloGioacchino Del Regno, Alexandre Belloni, Maxime Coquelin,
	Alexandre Torgue, linux-gpio, linux-kernel, linux-aspeed, openbmc,
	linux-arm-kernel, linux-renesas-soc, linux-sound, patches,
	linux-mediatek, linux-arm-kernel, linux-riscv, linux-rtc,
	linux-stm32

Hi Krzysztof,

On Wed, May 28, 2025 at 12:41 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:

> In several drivers pointers to 'struct pinctrl_desc' is not modified, so
> since core does not modify it, it can be made as const.

will you rebase this series on v6.16-rc1, fix the snags and send a new version?
It's all nice cleanups so it'd be great to just merge this.

Yours,
Linus Walleij


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 00/17] pinctrl: Constify pointers to 'pinctrl_desc' and more
  2025-06-10 12:16 ` [PATCH 00/17] pinctrl: Constify pointers to 'pinctrl_desc' and more Linus Walleij
@ 2025-06-11  6:10   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2025-06-11  6:10 UTC (permalink / raw)
  To: Linus Walleij
  Cc: Basavaraj Natikar, Shyam Sundar S K, Andrew Jeffery, Joel Stanley,
	Avi Fishman, Tomer Maimon, Tali Perry, Patrick Venture,
	Nancy Yuen, Benjamin Fair, Jonathan Neuschäfer,
	Rafał Miłecki, Broadcom internal kernel review list,
	Ray Jui, Scott Branden, Geert Uytterhoeven, David Rhodes,
	Richard Fitzgerald, Charles Keepax, Lorenzo Bianconi, Sean Wang,
	Jesper Nilsson, Lars Persson, Manivannan Sadhasivam,
	Damien Le Moal, Vladimir Zapolskiy, Michal Simek,
	Emil Renner Berthing, Jianlong Huang, Hal Feng, Matthias Brugger,
	AngeloGioacchino Del Regno, Alexandre Belloni, Maxime Coquelin,
	Alexandre Torgue, linux-gpio, linux-kernel, linux-aspeed, openbmc,
	linux-arm-kernel, linux-renesas-soc, linux-sound, patches,
	linux-mediatek, linux-arm-kernel, linux-riscv, linux-rtc,
	linux-stm32

On 10/06/2025 14:16, Linus Walleij wrote:
> Hi Krzysztof,
> 
> On Wed, May 28, 2025 at 12:41 PM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
> 
>> In several drivers pointers to 'struct pinctrl_desc' is not modified, so
>> since core does not modify it, it can be made as const.
> 
> will you rebase this series on v6.16-rc1, fix the snags and send a new version?
> It's all nice cleanups so it'd be great to just merge this.

Sure, coming soon.

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-06-11  6:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20250528-pinctrl-const-desc-v1-0-76fe97899945@linaro.org>
     [not found] ` <20250528-pinctrl-const-desc-v1-4-76fe97899945@linaro.org>
2025-05-28 12:47   ` [PATCH 04/17] pinctrl: Constify pointers to 'pinctrl_desc' Geert Uytterhoeven
     [not found] ` <20250528-pinctrl-const-desc-v1-16-76fe97899945@linaro.org>
2025-05-28 12:51   ` [PATCH 16/17] pinctrl: Constify static 'pinctrl_desc' Lorenzo Bianconi
2025-05-28 16:41   ` Charles Keepax
     [not found] ` <20250528-pinctrl-const-desc-v1-5-76fe97899945@linaro.org>
2025-05-29  0:39   ` [PATCH 05/17] pinctrl: aspeed: " Andrew Jeffery
     [not found] ` <20250528-pinctrl-const-desc-v1-2-76fe97899945@linaro.org>
2025-05-29  6:26   ` [PATCH 02/17] pinctrl: Allow compile testing for K210, TB10X and ZYNQ Krzysztof Kozlowski
2025-06-10 12:16 ` [PATCH 00/17] pinctrl: Constify pointers to 'pinctrl_desc' and more Linus Walleij
2025-06-11  6:10   ` Krzysztof Kozlowski

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).