From: Victor Fusco <[EMAIL PROTECTED]>
Fix the sparse warning "implicit cast to nocast type" File/Subsystem:include/linux/skbuff.h Signed-off-by: Victor Fusco <[EMAIL PROTECTED]> Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> -- --- skbuff.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: quilt/include/linux/skbuff.h =================================================================== --- quilt.orig/include/linux/skbuff.h +++ quilt/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 netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html