All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops
@ 2020-08-30 22:43 Rikard Falkeborn
  2020-08-31  9:17 ` Manivannan Sadhasivam
  2020-09-12 10:16 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Rikard Falkeborn @ 2020-08-30 22:43 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Joe Perches, linux-kernel, Linus Walleij, Andreas Färber,
	Manivannan Sadhasivam, Rikard Falkeborn

All usages of include/linux of these are const pointers, and all
instances in the kernel except one, that are not const can be made
const (patches have been posted for those separately).

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
---
 scripts/const_structs.checkpatch | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
index cd45cb3c2b04..1aae4f4fdacc 100644
--- a/scripts/const_structs.checkpatch
+++ b/scripts/const_structs.checkpatch
@@ -40,6 +40,8 @@ nvkm_device_chip
 of_device_id
 pci_raw_ops
 phy_ops
+pinctrl_ops
+pinmux_ops
 pipe_buf_operations
 platform_hibernation_ops
 platform_suspend_ops
-- 
2.28.0


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

* Re: [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops
  2020-08-30 22:43 [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops Rikard Falkeborn
@ 2020-08-31  9:17 ` Manivannan Sadhasivam
  2020-09-12 10:16 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Manivannan Sadhasivam @ 2020-08-31  9:17 UTC (permalink / raw)
  To: Rikard Falkeborn
  Cc: Andrew Morton, Joe Perches, linux-kernel, Linus Walleij,
	Andreas Färber

On 0831, Rikard Falkeborn wrote:
> All usages of include/linux of these are const pointers, and all
> instances in the kernel except one, that are not const can be made
> const (patches have been posted for those separately).
> 
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>

Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

Thanks,
Mani

> ---
>  scripts/const_structs.checkpatch | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/scripts/const_structs.checkpatch b/scripts/const_structs.checkpatch
> index cd45cb3c2b04..1aae4f4fdacc 100644
> --- a/scripts/const_structs.checkpatch
> +++ b/scripts/const_structs.checkpatch
> @@ -40,6 +40,8 @@ nvkm_device_chip
>  of_device_id
>  pci_raw_ops
>  phy_ops
> +pinctrl_ops
> +pinmux_ops
>  pipe_buf_operations
>  platform_hibernation_ops
>  platform_suspend_ops
> -- 
> 2.28.0
> 

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

* Re: [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops
  2020-08-30 22:43 [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops Rikard Falkeborn
  2020-08-31  9:17 ` Manivannan Sadhasivam
@ 2020-09-12 10:16 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2020-09-12 10:16 UTC (permalink / raw)
  To: Rikard Falkeborn
  Cc: Andrew Morton, Joe Perches, linux-kernel, Andreas Färber,
	Manivannan Sadhasivam

On Mon, Aug 31, 2020 at 12:44 AM Rikard Falkeborn
<rikard.falkeborn@gmail.com> wrote:

> All usages of include/linux of these are const pointers, and all
> instances in the kernel except one, that are not const can be made
> const (patches have been posted for those separately).
>
> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Thanks a lot for going the extra mile to fix this!!

Yours,
Linus Walleij

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

end of thread, other threads:[~2020-09-12 10:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 22:43 [PATCH] const_structs.checkpatch: add pinctrl_ops and pinmux_ops Rikard Falkeborn
2020-08-31  9:17 ` Manivannan Sadhasivam
2020-09-12 10:16 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.