Skip to content

Commit 9b41d19

Browse files
krzkbjorn-helgaas
authored andcommitted
PCI: Fix kerneldoc warnings
Fix kerneldoc warnings, e.g., $ make W=1 drivers/pci/ drivers/pci/ats.c:196: warning: Function parameter or member 'pdev' not described in 'pci_enable_pri' drivers/pci/ats.c:196: warning: Function parameter or member 'reqs' not described in 'pci_enable_pri' ... Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
1 parent b3a9e3b commit 9b41d19

File tree

14 files changed

+18
-11
lines changed

14 files changed

+18
-11
lines changed

drivers/pci/ats.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ void pci_pri_init(struct pci_dev *pdev)
188188

189189
/**
190190
* pci_enable_pri - Enable PRI capability
191-
* @ pdev: PCI device structure
191+
* @pdev: PCI device structure
192+
* @reqs: outstanding requests
192193
*
193194
* Returns 0 on success, negative value on error
194195
*/

drivers/pci/controller/dwc/pcie-designware-ep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* Synopsys DesignWare PCIe Endpoint controller driver
44
*
55
* Copyright (C) 2017 Texas Instruments

drivers/pci/controller/pcie-rockchip-ep.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/**
2323
* struct rockchip_pcie_ep - private data for PCIe endpoint controller driver
2424
* @rockchip: Rockchip PCIe controller
25+
* @epc: PCI EPC device
2526
* @max_regions: maximum number of regions supported by hardware
2627
* @ob_region_map: bitmask of mapped outbound regions
2728
* @ob_addr: base addresses in the AXI bus where the outbound regions start

drivers/pci/endpoint/functions/pci-epf-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ static int pci_epf_test_init_dma_chan(struct pci_epf_test *epf_test)
181181

182182
/**
183183
* pci_epf_test_clean_dma_chan() - Function to cleanup EPF test DMA channel
184-
* @epf: the EPF test device that performs data transfer operation
184+
* @epf_test: the EPF test device that performs data transfer operation
185185
*
186186
* Helper to cleanup EPF test DMA channel.
187187
*/

drivers/pci/endpoint/pci-ep-cfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* configfs to configure the PCI endpoint
44
*
55
* Copyright (C) 2017 Texas Instruments

drivers/pci/endpoint/pci-epc-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* PCI Endpoint *Controller* (EPC) library
44
*
55
* Copyright (C) 2017 Texas Instruments

drivers/pci/endpoint/pci-epc-mem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* PCI Endpoint *Controller* Address Space Management
44
*
55
* Copyright (C) 2017 Texas Instruments

drivers/pci/endpoint/pci-epf-core.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: GPL-2.0
2-
/**
2+
/*
33
* PCI Endpoint *Function* (EPF) library
44
*
55
* Copyright (C) 2017 Texas Instruments
@@ -71,6 +71,7 @@ EXPORT_SYMBOL_GPL(pci_epf_bind);
7171

7272
/**
7373
* pci_epf_free_space() - free the allocated PCI EPF register space
74+
* @epf: the EPF device from whom to free the memory
7475
* @addr: the virtual address of the PCI EPF register space
7576
* @bar: the BAR number corresponding to the register space
7677
*
@@ -96,6 +97,7 @@ EXPORT_SYMBOL_GPL(pci_epf_free_space);
9697

9798
/**
9899
* pci_epf_alloc_space() - allocate memory for the PCI EPF register space
100+
* @epf: the EPF device to whom allocate the memory
99101
* @size: the size of the memory that has to be allocated
100102
* @bar: the BAR number corresponding to the allocated register space
101103
* @align: alignment size for the allocation region

drivers/pci/hotplug/acpi_pcihp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static acpi_status acpi_run_oshp(acpi_handle handle)
6161

6262
/**
6363
* acpi_get_hp_hw_control_from_firmware
64-
* @dev: the pci_dev of the bridge that has a hotplug controller
64+
* @pdev: the pci_dev of the bridge that has a hotplug controller
6565
*
6666
* Attempt to take hotplug control from firmware.
6767
*/
@@ -191,7 +191,7 @@ check_hotplug(acpi_handle handle, u32 lvl, void *context, void **rv)
191191

192192
/**
193193
* acpi_pci_detect_ejectable - check if the PCI bus has ejectable slots
194-
* @handle - handle of the PCI bus to scan
194+
* @handle: handle of the PCI bus to scan
195195
*
196196
* Returns 1 if the PCI bus has ACPI based ejectable slots, 0 otherwise.
197197
*/

drivers/pci/hotplug/pciehp_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ static int get_adapter_status(struct hotplug_slot *hotplug_slot, u8 *value)
153153

154154
/**
155155
* pciehp_check_presence() - synthesize event if presence has changed
156+
* @ctrl: controller to check
156157
*
157158
* On probe and resume, an explicit presence check is necessary to bring up an
158159
* occupied slot or bring down an unoccupied slot. This can't be triggered by

0 commit comments

Comments
 (0)