Skip to content

Commit 843438d

Browse files
Yang Lirafaeljw
authored andcommitted
PCI/ACPI: Fix acpi_pci_osc_control_set() kernel-doc comment
Add the description of @support and remove @Req in acpi_pci_osc_control_set() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/acpi/pci_root.c:337: warning: Excess function parameter 'req' description in 'acpi_pci_osc_control_set' drivers/acpi/pci_root.c:337: warning: Function parameter or member 'support' not described in 'acpi_pci_osc_control_set' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Fixes: 6bc779e ("PCI/ACPI: Check for _OSC support in acpi_pci_osc_control_set()") Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent fc74e0a commit 843438d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/pci_root.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ EXPORT_SYMBOL_GPL(acpi_get_pci_dev);
324324
* acpi_pci_osc_control_set - Request control of PCI root _OSC features.
325325
* @handle: ACPI handle of a PCI root bridge (or PCIe Root Complex).
326326
* @mask: Mask of _OSC bits to request control of, place to store control mask.
327-
* @req: Mask of _OSC bits the control of is essential to the caller.
327+
* @support: _OSC supported capability.
328328
*
329329
* Run _OSC query for @mask and if that is successful, compare the returned
330330
* mask of control bits with @req. If all of the @req bits are set in the

0 commit comments

Comments
 (0)