[PATCH net-next] net: Fix coding style in skb_push()

Subsystems: networking [general], the rest

STALE2928d

2 messages, 2 authors, 2018-08-02 · open the first message on its own page

[PATCH net-next] net: Fix coding style in skb_push()

From: Ganesh Goudar <hidden>
Date: 2018-08-02 11:55:24

Signed-off-by: Ganesh Goudar <redacted>
---
 net/core/skbuff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/skbuff.c b/net/core/skbuff.c
index 266b954..51b0a912 100644
--- a/net/core/skbuff.c
+++ b/net/core/skbuff.c
@@ -1715,7 +1715,7 @@ void *skb_push(struct sk_buff *skb, unsigned int len)
 {
 	skb->data -= len;
 	skb->len  += len;
-	if (unlikely(skb->data<skb->head))
+	if (unlikely(skb->data < skb->head))
 		skb_under_panic(skb, len, __builtin_return_address(0));
 	return skb->data;
 }
-- 
2.1.0

Re: [PATCH net-next] net: Fix coding style in skb_push()

From: David Miller <davem@davemloft.net>
Date: 2018-08-02 19:22:31

From: Ganesh Goudar <redacted>
Date: Thu,  2 Aug 2018 15:34:52 +0530
Signed-off-by: Ganesh Goudar <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help