Skip to content

Commit 2db6b72

Browse files
committed
PCI: Fix kernel-doc issues
Fix kernel-doc issues reported by "find include -name \*pci\* | xargs scripts/kernel-doc -none": include/linux/pci.h:731: warning: Function parameter or member 'pdev' not described in 'pci_is_vga' include/linux/pci-epc.h:154: warning: Function parameter or member 'list_lock' not described in 'pci_epc' include/linux/pci-epf.h:83: warning: expecting prototype for struct pci_epf_event_ops. Prototype was for struct pci_epc_event_ops instead Link: https://lore.kernel.org/r/20240111162850.2177655-1-helgaas@kernel.org Tested-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Sui Jingfeng <suijingfeng@loongson.cn>
1 parent 516f366 commit 2db6b72

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

include/linux/pci-epc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct pci_epc_mem {
122122
* struct pci_epc - represents the PCI EPC device
123123
* @dev: PCI EPC device
124124
* @pci_epf: list of endpoint functions present in this EPC device
125-
* list_lock: Mutex for protecting pci_epf list
125+
* @list_lock: Mutex for protecting pci_epf list
126126
* @ops: function pointers for performing endpoint operations
127127
* @windows: array of address space of the endpoint controller
128128
* @mem: first window of the endpoint controller, which corresponds to

include/linux/pci-epf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ struct pci_epf_ops {
6868
};
6969

7070
/**
71-
* struct pci_epf_event_ops - Callbacks for capturing the EPC events
71+
* struct pci_epc_event_ops - Callbacks for capturing the EPC events
7272
* @core_init: Callback for the EPC initialization complete event
7373
* @link_up: Callback for the EPC link up event
7474
* @link_down: Callback for the EPC link down event

include/linux/pci.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ static inline bool pci_is_bridge(struct pci_dev *dev)
715715

716716
/**
717717
* pci_is_vga - check if the PCI device is a VGA device
718+
* @pdev: PCI device
718719
*
719720
* The PCI Code and ID Assignment spec, r1.15, secs 1.4 and 1.1, define
720721
* VGA Base Class and Sub-Classes:

0 commit comments

Comments
 (0)