* [PATCH 22/35] PCI: hotplug: Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
@ 2024-09-30 11:21 ` Julia Lawall
2024-09-30 16:42 ` Bjorn Helgaas
2024-10-06 1:55 ` (subset) [PATCH 00/35] " Bjorn Andersson
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Julia Lawall @ 2024-09-30 11:21 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: kernel-janitors, linux-pci, linux-kernel
Reorganize kerneldoc parameter names to match the parameter
order in the function header.
Problems identified using Coccinelle.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/pci/hotplug/pci_hotplug_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index 058d5937d8a9..db09d4992e6e 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
/**
* __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
- * @bus: bus this slot is on
* @slot: pointer to the &struct hotplug_slot to register
+ * @bus: bus this slot is on
* @devnr: device number
* @name: name registered with kobject core
* @owner: caller module owner
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 22/35] PCI: hotplug: Reorganize kerneldoc parameter names
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
@ 2024-09-30 16:42 ` Bjorn Helgaas
0 siblings, 0 replies; 6+ messages in thread
From: Bjorn Helgaas @ 2024-09-30 16:42 UTC (permalink / raw)
To: Julia Lawall; +Cc: Bjorn Helgaas, kernel-janitors, linux-pci, linux-kernel
On Mon, Sep 30, 2024 at 01:21:08PM +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> Problems identified using Coccinelle.
>
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Applied to pci/misc for v6.13, thank you!
> ---
> drivers/pci/hotplug/pci_hotplug_core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
> index 058d5937d8a9..db09d4992e6e 100644
> --- a/drivers/pci/hotplug/pci_hotplug_core.c
> +++ b/drivers/pci/hotplug/pci_hotplug_core.c
> @@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
>
> /**
> * __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
> - * @bus: bus this slot is on
> * @slot: pointer to the &struct hotplug_slot to register
> + * @bus: bus this slot is on
> * @devnr: device number
> * @name: name registered with kobject core
> * @owner: caller module owner
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
@ 2024-10-06 1:55 ` Bjorn Andersson
2024-11-17 12:09 ` Michael Ellerman
2024-12-20 17:27 ` Srinivas Kandagatla
3 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2024-10-06 1:55 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied, thanks!
[24/35] soc: qcom: qmi: Reorganize kerneldoc parameter names
commit: eea73fa08e69fec9cdc915592022bec6a9ac8ad7
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
2024-09-30 11:21 ` [PATCH 22/35] PCI: hotplug: " Julia Lawall
2024-10-06 1:55 ` (subset) [PATCH 00/35] " Bjorn Andersson
@ 2024-11-17 12:09 ` Michael Ellerman
2024-12-20 17:27 ` Srinivas Kandagatla
3 siblings, 0 replies; 6+ messages in thread
From: Michael Ellerman @ 2024-11-17 12:09 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied to powerpc/next.
[11/35] powerpc/ps3: Reorganize kerneldoc parameter names
https://git.kernel.org/powerpc/c/276e036e5844116e563fa90f676c625bb742cc57
cheers
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: (subset) [PATCH 00/35] Reorganize kerneldoc parameter names
2024-09-30 11:20 [PATCH 00/35] Reorganize kerneldoc parameter names Julia Lawall
` (2 preceding siblings ...)
2024-11-17 12:09 ` Michael Ellerman
@ 2024-12-20 17:27 ` Srinivas Kandagatla
3 siblings, 0 replies; 6+ messages in thread
From: Srinivas Kandagatla @ 2024-12-20 17:27 UTC (permalink / raw)
To: linux-gpio, Julia Lawall
Cc: kernel-janitors, audit, linux-mtd, Zhihao Cheng,
Rafael J. Wysocki, linux-arm-msm, linux-pci, dri-devel, linux-usb,
linux-mm, maple-tree, alsa-devel, Sanyog Kale,
Pierre-Louis Bossart, dccp, linux-fsdevel, Jan Kara, drbd-dev,
linux-sound, linux-kernel, linux-omap, linux-arm-kernel, netdev,
nvdimm, linux-leds, Nicholas Piggin, Christophe Leroy,
Naveen N Rao, Madhavan Srinivasan, linuxppc-dev, tipc-discussion,
Robin Murphy, iommu, Mathieu Desnoyers, linux-trace-kernel,
Neil Brown, Olga Kornievskaia, Dai Ngo, Tom Talpey, linux-nfs,
amd-gfx, linux-wireless, intel-wired-lan
On Mon, 30 Sep 2024 13:20:46 +0200, Julia Lawall wrote:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
>
> The misordered cases were identified using the following
> Coccinelle semantic patch:
>
> // <smpl>
> @initialize:ocaml@
> @@
>
> [...]
Applied, thanks!
[31/35] slimbus: messaging: Reorganize kerneldoc parameter names
commit: 52d3d7f7a77ee9afc6a846b415790e13e1434847
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
^ permalink raw reply [flat|nested] 6+ messages in thread