staging: octeon: Lines should not end with a '('
PATCH 1/1 staging: octeon: Lines should not end with a '('
Start function arguments immediately after opening bracket.
CHECK: Lines should not end with a '('.
Signed-off-by Branden Bonaby <[email protected]>
--- drivers/staging/octeon/ethernet-tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/octeon/ethernet-tx.c +2 -2
@@ -413,8 +413,8 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev) queue_type =QUEUE_HW ; }if (USE_ASYNC_IOBDMA ) -cvmx_fau_async_fetch_and_add32 ( -CVMX_SCR_SCRATCH ,FAU_TOTAL_TX_TO_CLEAN ,1 ); +cvmx_fau_async_fetch_and_add32 (CVMX_SCR_SCRATCH , +FAU_TOTAL_TX_TO_CLEAN ,1 );spin_lock_irqsave (&priv->tx_free_list[qos].lock, flags);
Signature · 1 line
2.17.1
Quoted 4 lines · Branden Bonaby
Start function arguments immediately after opening bracket.
CHECK: Lines should not end with a '('.Signed-off-by Branden Bonaby <[email protected]>
Acked-by Julia Lawall <[email protected]>
Quoted 29 lines
--- drivers/staging/octeon/ethernet-tx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/staging/octeon/ethernet-tx.c +2
-3@@ -413,8 +413,8 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev) queue_type =QUEUE_HW ; }if (USE_ASYNC_IOBDMA ) -cvmx_fau_async_fetch_and_add32 ( -CVMX_SCR_SCRATCH ,FAU_TOTAL_TX_TO_CLEAN ,1 ); +cvmx_fau_async_fetch_and_add32 (CVMX_SCR_SCRATCH , +FAU_TOTAL_TX_TO_CLEAN ,1 );spin_lock_irqsave (&priv->tx_free_list[qos].lock, flags); --2.17.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20190310000638.4559-1-brandonbonaby94%40gmail.com.
For more options, visit https://groups.google.com/d/optout.