Skip to content

Commit 7855f76

Browse files
committed
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 <[email protected]>
1 parent 78f1cd0 commit 7855f76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/tulip/uli526x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ static void uli526x_rx_packet(struct net_device *dev, struct uli526x_board_info
858858
/* Good packet, send to upper layer */
859859
/* Shorst packet used new SKB */
860860
if ((rxlen < RX_COPY_SIZE) &&
861-
((new_skb = dev_alloc_skb(rxlen + 2) != NULL))) {
861+
(((new_skb = dev_alloc_skb(rxlen + 2)) != NULL))) {
862862
skb = new_skb;
863863
/* size less than COPY_SIZE, allocate a rxlen SKB */
864864
skb_reserve(skb, 2); /* 16byte align */

0 commit comments

Comments
 (0)