]> Pileus Git - ~andy/linux/commitdiff
net: fix comment typo for __skb_alloc_pages()
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 30 Aug 2013 14:36:14 +0000 (15:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Sep 2013 02:17:40 +0000 (22:17 -0400)
The name of the function in the comment is __skb_alloc_page() while we
are actually commenting __skb_alloc_pages(). Fix this typo and make it
a valid kernel doc comment.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h

index 5ac96f31d546609403768ea462e88f3e2a02b8dd..6f1330af1ebbfcdd7cf46d5256c94f38bad20ad4 100644 (file)
@@ -1905,8 +1905,8 @@ static inline struct sk_buff *netdev_alloc_skb_ip_align(struct net_device *dev,
        return __netdev_alloc_skb_ip_align(dev, length, GFP_ATOMIC);
 }
 
-/*
- *     __skb_alloc_page - allocate pages for ps-rx on a skb and preserve pfmemalloc data
+/**
+ *     __skb_alloc_pages - allocate pages for ps-rx on a skb and preserve pfmemalloc data
  *     @gfp_mask: alloc_pages_node mask. Set __GFP_NOMEMALLOC if not for network packet RX
  *     @skb: skb to set pfmemalloc on if __GFP_MEMALLOC is used
  *     @order: size of the allocation