Skip to contentSkip to conversation

pci: vc: Fix kerneldoc

PATCH In review Krzysztof Kozlowski 2 participants 2 messages Jul 28, 2020 PCI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pci: vc: Fix kerneldoc

Fix W=1 compile warnings (invalid kerneldoc):

drivers/pci/vc.c:188: warning: Excess function parameter 'name' description in 'pci_vc_do_save_buffer'

---
 drivers/pci/vc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pci/vc.c +0 -1
index 5486f8768c86..5fc59ac31145 100644
@@ -172,7 +172,6 @@ static void pci_vc_enable(struct pci_dev *dev, int pos, int res)
  * @dev: device
  * @pos: starting position of VC capability (VC/VC9/MFVC)
  * @save_state: buffer for save/restore
- * @name: for error message
  * @save: if provided a buffer, this indicates what to do with it
  *
  * Walking Virtual Channel config space to size, save, or restore it
Signature · 1 line
2.17.1
#1 lore raw

Patch looks fine, but can you run "git log --oneline drivers/pci/vc.c" and match the subject line style?

Quoted 24 lines · Krzysztof Kozlowski

Fix W=1 compile warnings (invalid kerneldoc):

drivers/pci/vc.c:188: warning: Excess function parameter 'name' description in 'pci_vc_do_save_buffer'

---
 drivers/pci/vc.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pci/vc.c +0 -1
index 5486f8768c86..5fc59ac31145 100644
@@ -172,7 +172,6 @@ static void pci_vc_enable(struct pci_dev *dev, int pos, int res)
  * @dev: device
  * @pos: starting position of VC capability (VC/VC9/MFVC)
  * @save_state: buffer for save/restore
- * @name: for error message
  * @save: if provided a buffer, this indicates what to do with it
  *
  * Walking Virtual Channel config space to size, save, or restore it
Signature · 1 line
2.17.1