Patchwork include: linux: skbuf.h: Fix parameter documentation

login
register
mail settings
Submitter Marcos Paulo de Souza
Date Nov. 1, 2011, 1:11 a.m.
Message ID <1320109905-12721-1-git-send-email-marcos.mage@gmail.com>
Download mbox | patch
Permalink /patch/123005/
State Accepted
Delegated to: David Miller
Headers show

Comments

Marcos Paulo de Souza - Nov. 1, 2011, 1:11 a.m.
Fixes parameter name of skb_frag_dmamap function to silence warning on
make htmldocs.

Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>
---
 include/linux/skbuff.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
David Miller - Nov. 1, 2011, 4:55 a.m.
From: Marcos Paulo de Souza <marcos.mage@gmail.com>
Date: Mon, 31 Oct 2011 23:11:45 -0200

> Fixes parameter name of skb_frag_dmamap function to silence warning on
> make htmldocs.
> 
> Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 6a6b352..fe86488 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1806,12 +1806,12 @@  static inline void skb_frag_set_page(struct sk_buff *skb, int f,
 
 /**
  * skb_frag_dma_map - maps a paged fragment via the DMA API
- * @device: the device to map the fragment to
+ * @dev: the device to map the fragment to
  * @frag: the paged fragment to map
  * @offset: the offset within the fragment (starting at the
  *          fragment's own offset)
  * @size: the number of bytes to map
- * @direction: the direction of the mapping (%PCI_DMA_*)
+ * @dir: the direction of the mapping (%PCI_DMA_*)
  *
  * Maps the page associated with @frag to @device.
  */