All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PCI; trivial fix for the comment of pci_vpd_srdt_{size, tag}
@ 2017-07-04  2:16 Shawn Lin
  2017-07-10 21:02 ` Bjorn Helgaas
  0 siblings, 1 reply; 2+ messages in thread
From: Shawn Lin @ 2017-07-04  2:16 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: linux-pci, Shawn Lin

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(-)

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] PCI; trivial fix for the comment of pci_vpd_srdt_{size, tag}
  2017-07-04  2:16 [PATCH] PCI; trivial fix for the comment of pci_vpd_srdt_{size, tag} Shawn Lin
@ 2017-07-10 21:02 ` Bjorn Helgaas
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Helgaas @ 2017-07-10 21:02 UTC (permalink / raw)
  To: Shawn Lin; +Cc: Bjorn Helgaas, linux-pci

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
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-10 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-04  2:16 [PATCH] PCI; trivial fix for the comment of pci_vpd_srdt_{size, tag} Shawn Lin
2017-07-10 21:02 ` Bjorn Helgaas

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.