tree 74a126835dc9e26fbca5080214f3cc1bb4f7c5ea
parent 37da647d994cdac7e0bc8d2a365fbda403939a2b
author Victor Fusco <[EMAIL PROTECTED]> Tue, 19 Jul 2005 03:36:38 -0700
committer David S. Miller <[EMAIL PROTECTED]> Tue, 19 Jul 2005 03:36:38 -0700

[NET]: Fix "nocast type" warnings in skbuff.h

From: Victor Fusco <[EMAIL PROTECTED]>

Fix the sparse warning "implicit cast to nocast type"

Signed-off-by: Victor Fusco <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
Signed-off-by: David S. Miller <[EMAIL PROTECTED]>

 include/linux/skbuff.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -502,7 +502,8 @@ static inline struct sk_buff *skb_share_
  *
  *     %NULL is returned on a memory allocation failure.
  */
-static inline struct sk_buff *skb_unshare(struct sk_buff *skb, int pri)
+static inline struct sk_buff *skb_unshare(struct sk_buff *skb,
+                                         unsigned int __nocast pri)
 {
        might_sleep_if(pri & __GFP_WAIT);
        if (skb_cloned(skb)) {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to