Skip to content

Commit b21a18f

Browse files
JuliaLawallbjorn-helgaas
authored andcommitted
PCI: hotplug: Reorganize kerneldoc parameter names
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Link: https://lore.kernel.org/r/20240930112121.95324-23-Julia.Lawall@inria.fr Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent 9852d85 commit b21a18f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/hotplug/pci_hotplug_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,8 @@ static struct hotplug_slot *get_slot_from_name(const char *name)
388388

389389
/**
390390
* __pci_hp_register - register a hotplug_slot with the PCI hotplug subsystem
391-
* @bus: bus this slot is on
392391
* @slot: pointer to the &struct hotplug_slot to register
392+
* @bus: bus this slot is on
393393
* @devnr: device number
394394
* @name: name registered with kobject core
395395
* @owner: caller module owner

0 commit comments

Comments
 (0)