Skip to contentSkip to conversation

staging: wimax: i2400m: add space before open parenthesis

PATCH Superseded Rajesh Kumbhakar 2 participants 8 messages Feb 20, 2021 – Feb 21, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wimax: i2400m: add space before open parenthesis

netdev.c

fixing style ERROR: space required before the open parenthesis '('

---
 drivers/staging/wimax/i2400m/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wimax/i2400m/netdev.c +1 -1
index cd06eaf75e8b..5b53e59084c8 100644
@@ -523,7 +523,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
 
 	d_fnstart(2, dev, "(i2400m %p skb %p [%u] cs %d)\n",
 		  i2400m, skb, skb->len, cs);
-	switch(cs) {
+	switch (cs) {
 	case I2400M_CS_IPV4_0:
 	case I2400M_CS_IPV4:
 		i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev,
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 1 line · Rajesh Kumbhakar

netdev.c

Why is this here?

author
#2 lore raw
Quoted 3 lines · Greg KH
Quoted 1 line · Rajesh Kumbhakar

netdev.c

Why is this here?

You mean that filename? I thought I should mention it. Should I remove it and resubmit?

maintainer
#3 lore raw
Quoted 8 lines · RajMAIN
Quoted 3 lines · Greg KH
Quoted 1 line · Rajesh Kumbhakar

netdev.c

Why is this here?

You mean that filename? I thought I should mention it. Should I remove it and resubmit?

Please read the section entitled "The canonical patch format" in the kernel file, Documentation/SubmittingPatches for what is needed in order to properly describe the change.

thanks,

greg k-h

#4 lore raw

PATCH v2 1/1 staging: wimax: i2400m: add space before open parenthesis

In reply to Rajesh Kumbhakar

netdev.c

fixing style ERROR: space required before the open parenthesis '('

---
Changes in v2:
- Removed filename from commit message.

 drivers/staging/wimax/i2400m/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wimax/i2400m/netdev.c +1 -1
index cd06eaf75e8b..5b53e59084c8 100644
@@ -523,7 +523,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
 
 	d_fnstart(2, dev, "(i2400m %p skb %p [%u] cs %d)\n",
 		  i2400m, skb, skb->len, cs);
-	switch(cs) {
+	switch (cs) {
 	case I2400M_CS_IPV4_0:
 	case I2400M_CS_IPV4:
 		i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev,
Signature · 1 line
2.25.1
maintainer
#5 lore raw
Quoted 8 lines · Rajesh Kumbhakar

netdev.c

fixing style ERROR: space required before the open parenthesis '('

---
Changes in v2:
- Removed filename from commit message.

filename is still in commit message :(

#6 lore raw
Quoted 10 lines · Greg KH
Quoted 8 lines · Rajesh Kumbhakar

netdev.c

fixing style ERROR: space required before the open parenthesis '('

---
Changes in v2:
- Removed filename from commit message.

filename is still in commit message :(

aah, not again. please bare with me this last time, will surely never repeat this.

#7 lore raw

PATCH v3 1/1 staging: wimax: i2400m: add space before open parenthesis

In reply to Rajesh Kumbhakar

fixing ERROR: space required before the open parenthesis '('

---
Changes in v3:
- Fixed commit message (removed filename).
Changes in v2:
- Removed filename from commit message.

 drivers/staging/wimax/i2400m/netdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/wimax/i2400m/netdev.c +1 -1
index cd06eaf75e8b..5b53e59084c8 100644
@@ -523,7 +523,7 @@ void i2400m_net_erx(struct i2400m *i2400m, struct sk_buff *skb,
 
 	d_fnstart(2, dev, "(i2400m %p skb %p [%u] cs %d)\n",
 		  i2400m, skb, skb->len, cs);
-	switch(cs) {
+	switch (cs) {
 	case I2400M_CS_IPV4_0:
 	case I2400M_CS_IPV4:
 		i2400m_rx_fake_eth_header(i2400m->wimax_dev.net_dev,
Signature · 1 line
2.25.1