[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200704260727.l3Q7RLxU023943@shell0.pdx.osdl.net>
Date: Thu, 26 Apr 2007 00:27:21 -0700
From: akpm@...ux-foundation.org
To: davem@...emloft.net
Cc: netdev@...r.kernel.org, akpm@...ux-foundation.org
Subject: [patch 01/15] git-net: fix yam.c
From: Andrew Morton <akpm@...ux-foundation.org>
drivers/net/hamradio/yam.c: In function `yam_tx_byte':
drivers/net/hamradio/yam.c:643: warning: passing arg 1 of `skb_copy_from_linear_data_offset' from incompatible pointer type
Cc: "David S. Miller" <davem@...emloft.net>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---
drivers/net/hamradio/yam.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/hamradio/yam.c~git-net-fix-yamc drivers/net/hamradio/yam.c
--- a/drivers/net/hamradio/yam.c~git-net-fix-yamc
+++ a/drivers/net/hamradio/yam.c
@@ -638,7 +638,7 @@ static void yam_tx_byte(struct net_devic
dev_kfree_skb_any(skb);
break;
}
- skb_copy_from_linear_data_offset(skb->data, 1,
+ skb_copy_from_linear_data_offset(skb, 1,
yp->tx_buf,
yp->tx_len);
dev_kfree_skb_any(skb);
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists