Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/20200729201224.26799-2-krzk@kernel.org
Link: https://lore.kernel.org/r/20200729201224.26799-3-krzk@kernel.org
Link: https://lore.kernel.org/r/20200729201224.26799-4-krzk@kernel.org
Link: https://lore.kernel.org/r/20200729201224.26799-5-krzk@kernel.org
Link: https://lore.kernel.org/r/20200729201224.26799-6-krzk@kernel.org
Link: https://lore.kernel.org/r/20200729201224.26799-7-krzk@kernel.org
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

authored by

Krzysztof Kozlowski and committed by
Bjorn Helgaas
9b41d19a b3a9e3b9

+18 -11
+2 -1
drivers/pci/ats.c
··· 188 188 189 189 /** 190 190 * pci_enable_pri - Enable PRI capability 191 - * @ pdev: PCI device structure 191 + * @pdev: PCI device structure 192 + * @reqs: outstanding requests 192 193 * 193 194 * Returns 0 on success, negative value on error 194 195 */
+1 -1
drivers/pci/controller/dwc/pcie-designware-ep.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /** 2 + /* 3 3 * Synopsys DesignWare PCIe Endpoint controller driver 4 4 * 5 5 * Copyright (C) 2017 Texas Instruments
+1
drivers/pci/controller/pcie-rockchip-ep.c
··· 22 22 /** 23 23 * struct rockchip_pcie_ep - private data for PCIe endpoint controller driver 24 24 * @rockchip: Rockchip PCIe controller 25 + * @epc: PCI EPC device 25 26 * @max_regions: maximum number of regions supported by hardware 26 27 * @ob_region_map: bitmask of mapped outbound regions 27 28 * @ob_addr: base addresses in the AXI bus where the outbound regions start
+1 -1
drivers/pci/endpoint/functions/pci-epf-test.c
··· 181 181 182 182 /** 183 183 * 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 185 185 * 186 186 * Helper to cleanup EPF test DMA channel. 187 187 */
+1 -1
drivers/pci/endpoint/pci-ep-cfs.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /** 2 + /* 3 3 * configfs to configure the PCI endpoint 4 4 * 5 5 * Copyright (C) 2017 Texas Instruments
+1 -1
drivers/pci/endpoint/pci-epc-core.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /** 2 + /* 3 3 * PCI Endpoint *Controller* (EPC) library 4 4 * 5 5 * Copyright (C) 2017 Texas Instruments
+1 -1
drivers/pci/endpoint/pci-epc-mem.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /** 2 + /* 3 3 * PCI Endpoint *Controller* Address Space Management 4 4 * 5 5 * Copyright (C) 2017 Texas Instruments
+3 -1
drivers/pci/endpoint/pci-epf-core.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /** 2 + /* 3 3 * PCI Endpoint *Function* (EPF) library 4 4 * 5 5 * Copyright (C) 2017 Texas Instruments ··· 71 71 72 72 /** 73 73 * pci_epf_free_space() - free the allocated PCI EPF register space 74 + * @epf: the EPF device from whom to free the memory 74 75 * @addr: the virtual address of the PCI EPF register space 75 76 * @bar: the BAR number corresponding to the register space 76 77 * ··· 97 96 98 97 /** 99 98 * pci_epf_alloc_space() - allocate memory for the PCI EPF register space 99 + * @epf: the EPF device to whom allocate the memory 100 100 * @size: the size of the memory that has to be allocated 101 101 * @bar: the BAR number corresponding to the allocated register space 102 102 * @align: alignment size for the allocation region
+2 -2
drivers/pci/hotplug/acpi_pcihp.c
··· 61 61 62 62 /** 63 63 * 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 65 65 * 66 66 * Attempt to take hotplug control from firmware. 67 67 */ ··· 191 191 192 192 /** 193 193 * 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 195 195 * 196 196 * Returns 1 if the PCI bus has ACPI based ejectable slots, 0 otherwise. 197 197 */
+1
drivers/pci/hotplug/pciehp_core.c
··· 153 153 154 154 /** 155 155 * pciehp_check_presence() - synthesize event if presence has changed 156 + * @ctrl: controller to check 156 157 * 157 158 * On probe and resume, an explicit presence check is necessary to bring up an 158 159 * occupied slot or bring down an unoccupied slot. This can't be triggered by
+2
drivers/pci/of.c
··· 243 243 * @busno: bus number associated with the bridge root bus 244 244 * @bus_max: maximum number of buses for this bridge 245 245 * @resources: list where the range of resources will be added after DT parsing 246 + * @ib_resources: list where the range of inbound resources (with addresses 247 + * from 'dma-ranges') will be added after DT parsing 246 248 * @io_base: pointer to a variable that will contain on return the physical 247 249 * address for the start of the I/O range. Can be NULL if the caller doesn't 248 250 * expect I/O ranges to be present in the device tree.
+1 -1
drivers/pci/pci-pf-stub.c
··· 9 9 #include <linux/module.h> 10 10 #include <linux/pci.h> 11 11 12 - /** 12 + /* 13 13 * pci_pf_stub_whitelist - White list of devices to bind pci-pf-stub onto 14 14 * 15 15 * This table provides the list of IDs this driver is supposed to bind
+1
drivers/pci/setup-bus.c
··· 55 55 * @dev: Device to which the resource belongs 56 56 * @res: Resource to be tracked 57 57 * @add_size: Additional size to be optionally added to the resource 58 + * @min_align: Minimum memory window alignment 58 59 */ 59 60 static int add_to_list(struct list_head *head, struct pci_dev *dev, 60 61 struct resource *res, resource_size_t add_size,
-1
drivers/pci/vc.c
··· 172 172 * @dev: device 173 173 * @pos: starting position of VC capability (VC/VC9/MFVC) 174 174 * @save_state: buffer for save/restore 175 - * @name: for error message 176 175 * @save: if provided a buffer, this indicates what to do with it 177 176 * 178 177 * Walking Virtual Channel config space to size, save, or restore it