Skip to content

Commit 3aa54d1

Browse files
Bartosz Golaszewskibjorn-helgaas
authored andcommitted
PCI/pwrctrl: Fix the kerneldoc tag for private fields
The correct tag for marking private fields in kerneldoc is "private:", not capitalized "Private:". Fix the pwrctl struct to silence the following warnings: Warning: include/linux/pci-pwrctrl.h:45 struct member 'nb' not described in 'pci_pwrctrl' Warning: include/linux/pci-pwrctrl.h:45 struct member 'link' not described in 'pci_pwrctrl' Warning: include/linux/pci-pwrctrl.h:45 struct member 'work' not described in 'pci_pwrctrl' Fixes: 4565d26 ("PCI/pwrctl: Add PCI power control core code") Reported-by: Bjorn Helgaas <helgaas@kernel.org> Closes: https://lore.kernel.org/all/20250617233539.GA1177120@bhelgaas/ Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20250618091129.44810-1-brgl@bgdev.pl
1 parent 66db1d3 commit 3aa54d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/pci-pwrctrl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct device_link;
3939
struct pci_pwrctrl {
4040
struct device *dev;
4141

42-
/* Private: don't use. */
42+
/* private: internal use only */
4343
struct notifier_block nb;
4444
struct device_link *link;
4545
struct work_struct work;

0 commit comments

Comments
 (0)