aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-03-28 21:56:34 -0400
committerDavid S. Miller <davem@davemloft.net>2010-03-28 21:56:34 -0400
commit7855f761998893bb6bf861d55df95036fc9e36ab (patch)
tree94c156eeebbc9a5d6f2e96089a715b8b6d08eede /drivers/net/tulip
parent78f1cd02457252e1ffbc6caa44a17424a45286b8 (diff)
tulip: Add missing parens.
As reported by Stephen Rothwell. drivers/net/tulip/uli526x.c: In function 'uli526x_rx_packet': drivers/net/tulip/uli526x.c:861: warning: assignment makes pointer from integer without a cast Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r--drivers/net/tulip/uli526x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tulip/uli526x.c b/drivers/net/tulip/uli526x.c
index 90be57bad39d..a4f09d490531 100644
--- a/drivers/net/tulip/uli526x.c
+++ b/drivers/net/tulip/uli526x.c
@@ -858,7 +858,7 @@ static void uli526x_rx_packet(struct net_device *dev, struct uli526x_board_info
858 /* Good packet, send to upper layer */ 858 /* Good packet, send to upper layer */
859 /* Shorst packet used new SKB */ 859 /* Shorst packet used new SKB */
860 if ((rxlen < RX_COPY_SIZE) && 860 if ((rxlen < RX_COPY_SIZE) &&
861 ((new_skb = dev_alloc_skb(rxlen + 2) != NULL))) { 861 (((new_skb = dev_alloc_skb(rxlen + 2)) != NULL))) {
862 skb = new_skb; 862 skb = new_skb;
863 /* size less than COPY_SIZE, allocate a rxlen SKB */ 863 /* size less than COPY_SIZE, allocate a rxlen SKB */
864 skb_reserve(skb, 2); /* 16byte align */ 864 skb_reserve(skb, 2); /* 16byte align */