Message ID | 20240930112121.95324-23-Julia.Lawall@inria.fr (mailing list archive) |
---|---|
State | Accepted |
Commit | b21a18f730e4b659be951a041eff682a60c0f4a0 |
Headers | show |
Series | Reorganize kerneldoc parameter names | expand |
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 >
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
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(-)