summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-09-01 23:35:20 +0200
committerBjorn Helgaas <bhelgaas@google.com>2017-09-01 23:35:20 +0200
commit0142626d08223b0f6ad04859301b53178f11c317 (patch)
tree621e709207f52ae814d5745c6a315e8de5e72d94
parentLinux 4.13-rc3 (diff)
downloadlinux-0142626d08223b0f6ad04859301b53178f11c317.tar.xz
linux-0142626d08223b0f6ad04859301b53178f11c317.zip
PCI: Correct kernel-doc of pci_vpd_srdt_size(), pci_vpd_srdt_tag()
The kernel-doc comments don't match the arguments, so fix the comments. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--include/linux/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 4869e66dd659..7950fc697394 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2059,7 +2059,7 @@ static inline u16 pci_vpd_lrdt_tag(const u8 *lrdt)
/**
* pci_vpd_srdt_size - Extracts the Small Resource Data Type length
- * @lrdt: Pointer to the beginning of the Small Resource Data Type tag
+ * @srdt: Pointer to the beginning of the Small Resource Data Type tag
*
* Returns the extracted Small Resource Data Type length.
*/
@@ -2070,7 +2070,7 @@ static inline u8 pci_vpd_srdt_size(const u8 *srdt)
/**
* pci_vpd_srdt_tag - Extracts the Small Resource Data Type Tag Item
- * @lrdt: Pointer to the beginning of the Small Resource Data Type tag
+ * @srdt: Pointer to the beginning of the Small Resource Data Type tag
*
* Returns the extracted Small Resource Data Type Tag Item.
*/