Skip to content

Commit 6d2730c

Browse files
kwilczynskiliuw
authored andcommitted
PCI: hv: Document missing hv_pci_protocol_negotiation() parameter
Add missing documentation for the parameter "version" and "num_version" of the hv_pci_protocol_negotiation() function and resolve build time kernel-doc warnings: drivers/pci/controller/pci-hyperv.c:2535: warning: Function parameter or member 'version' not described in 'hv_pci_protocol_negotiation' drivers/pci/controller/pci-hyperv.c:2535: warning: Function parameter or member 'num_version' not described in 'hv_pci_protocol_negotiation' No change to functionality intended. Signed-off-by: Krzysztof Wilczyński <kw@linux.com> Link: https://lore.kernel.org/r/20200925234753.1767227-1-kw@linux.com Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Wei Liu <wei.liu@kernel.org>
1 parent 8f43710 commit 6d2730c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

drivers/pci/controller/pci-hyperv.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2515,7 +2515,10 @@ static void hv_pci_onchannelcallback(void *context)
25152515

25162516
/**
25172517
* hv_pci_protocol_negotiation() - Set up protocol
2518-
* @hdev: VMBus's tracking struct for this root PCI bus
2518+
* @hdev: VMBus's tracking struct for this root PCI bus.
2519+
* @version: Array of supported channel protocol versions in
2520+
* the order of probing - highest go first.
2521+
* @num_version: Number of elements in the version array.
25192522
*
25202523
* This driver is intended to support running on Windows 10
25212524
* (server) and later versions. It will not run on earlier

0 commit comments

Comments
 (0)