Skip to contentSkip to conversation

Fix coding style issue in xlr_net.c

PATCH In review Neil Armstrong 2 participants 3 messages Mar 28, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix coding style issue in xlr_net.c

checkpatch script returns the following warning:
WARNING: line over 80 characters
310: FILE: drivers/staging/netlogic/xlr_net.c:310:
+ void *accel_priv, select_queue_fallback_t fallback)

This patch fixes the coding style issue.

---
 drivers/staging/netlogic/xlr_net.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/drivers/staging/netlogic/xlr_net.c
index 31b269a..cef0b8a 100644

drivers/staging/netlogic/xlr_net.c +0 -0
@@ -307,7 +307,8 @@ static netdev_tx_t xlr_net_start_xmit(struct sk_buff

*skb,
}

static u16 xlr_net_select_queue(struct net_device *ndev, struct sk_buff
*skb,
- void *accel_priv, select_queue_fallback_t fallback)
+ struct sk_buff *skb, void *accel_priv,
+ select_queue_fallback_t fallback)
{
return (u16)smp_processor_id();
}

Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 8 lines · Neil Armstrong

checkpatch script returns the following warning:
WARNING: line over 80 characters
310: FILE: drivers/staging/netlogic/xlr_net.c:310:
+ void *accel_priv, select_queue_fallback_t fallback)

This patch fixes the coding style issue.

Patch is corrupted by mail client read Documentation/email-clients.txt or use git send-email.

Also the patch looks wrong. Did you try compiling it?

regards,
dan carpenter