Fix coding style issue in xlr_net.c
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
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_tfallback)This patch fixes the coding style issue.
Signed-off-by Neil Armstrong <[email protected]>
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
The subject should be:
[PATCH] Staging: netlogic: long lines in xlr_net.c
You were missing the subsystem prefix: "Staging: netlogic:".
regards,
dan carpenter