diff mbox

PCI; trivial fix for the comment of pci_vpd_srdt_{size, tag}

Message ID 1499134595-46917-1-git-send-email-shawn.lin@rock-chips.com
State Accepted
Headers show

Commit Message

Shawn Lin July 4, 2017, 2:16 a.m. UTC
The comment doesn't match the argument, so fix them.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

 include/linux/pci.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Bjorn Helgaas July 10, 2017, 9:02 p.m. UTC | #1
On Tue, Jul 04, 2017 at 10:16:35AM +0800, Shawn Lin wrote:
> The comment doesn't match the argument, so fix them.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Applied to pci/trivial for v4.14, thanks!

> ---
> 
>  include/linux/pci.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/pci.h b/include/linux/pci.h
> index bd68ed1..a360315 100644
> --- a/include/linux/pci.h
> +++ b/include/linux/pci.h
> @@ -2066,7 +2066,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.
>   */
> @@ -2077,7 +2077,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.
>   */
> -- 
> 1.9.1
> 
>
diff mbox

Patch

diff --git a/include/linux/pci.h b/include/linux/pci.h
index bd68ed1..a360315 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -2066,7 +2066,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.
  */
@@ -2077,7 +2077,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.
  */