All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI/PME: Add missing field documentation
@ 2020-05-16  7:00 Jay Fang
  0 siblings, 0 replies; only message in thread
From: Jay Fang @ 2020-05-16  7:00 UTC (permalink / raw)
  To: helgaas, linux-pci; +Cc: linuxarm, huangdaode

Suppress following warning when compiling with W=1:

drivers/pci/pcie/pme.c:414: warning: Function parameter or member 'srv'
not described in 'pcie_pme_resume'
drivers/pci/pcie/pme.c:437: warning: Function parameter or member 'srv'
not described in 'pcie_pme_remove'

Signed-off-by: Jay Fang <f.fangjian@huawei.com>
---
 drivers/pci/pcie/pme.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/pcie/pme.c b/drivers/pci/pcie/pme.c
index f38e6c1..6a32970 100644
--- a/drivers/pci/pcie/pme.c
+++ b/drivers/pci/pcie/pme.c
@@ -408,7 +408,7 @@ static int pcie_pme_suspend(struct pcie_device *srv)
 
 /**
  * pcie_pme_resume - Resume PCIe PME service device.
- * @srv - PCIe service device to resume.
+ * @srv: PCIe service device to resume.
  */
 static int pcie_pme_resume(struct pcie_device *srv)
 {
@@ -431,7 +431,7 @@ static int pcie_pme_resume(struct pcie_device *srv)
 
 /**
  * pcie_pme_remove - Prepare PCIe PME service device for removal.
- * @srv - PCIe service device to remove.
+ * @srv: PCIe service device to remove.
  */
 static void pcie_pme_remove(struct pcie_device *srv)
 {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-16  7:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16  7:00 [PATCH] PCI/PME: Add missing field documentation Jay Fang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.