staging: octeon: Lines should not end with a '('
authorBranden Bonaby <brandonbonaby94@gmail.com>
Tue, 12 Mar 2019 02:48:06 +0000 (22:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:24 +0000 (07:05 +0100)
Start function arguments immediately after opening bracket.
CHECK: Lines should not end with a '('.

Signed-off-by: Branden Bonaby <brandonbonaby94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-tx.c

index 317c9720467ceef23c99a5f4f3fa7c6eae628051..20f513fbaa85dd3f2aa475cdcbb5df3530e6e53a 100644 (file)
@@ -214,8 +214,10 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
                                 * Get the number of skbuffs in use
                                 * by the hardware
                                 */
-                               skb_to_free = cvmx_fau_fetch_and_add32(
-                                       priv->fau + qos * 4, MAX_SKB_TO_FREE);
+                               skb_to_free =
+                                    cvmx_fau_fetch_and_add32(priv->fau +
+                                                             qos * 4,
+                                                             MAX_SKB_TO_FREE);
                        }
                        skb_to_free = cvm_oct_adjust_skb_to_free(skb_to_free,
                                                                 priv->fau +
@@ -280,9 +282,9 @@ int cvm_oct_xmit(struct sk_buff *skb, struct net_device *dev)
                for (i = 0; i < skb_shinfo(skb)->nr_frags; i++) {
                        struct skb_frag_struct *fs = skb_shinfo(skb)->frags + i;
 
-                       hw_buffer.s.addr = XKPHYS_TO_PHYS(
-                               (u64)(page_address(fs->page.p) +
-                               fs->page_offset));
+                       hw_buffer.s.addr =
+                               XKPHYS_TO_PHYS((u64)(page_address(fs->page.p) +
+                                              fs->page_offset));
                        hw_buffer.s.size = fs->size;
                        CVM_OCT_SKB_CB(skb)[i + 1] = hw_buffer.u64;
                }
@@ -413,8 +415,8 @@ dont_put_skbuff_in_hw:
                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);
 
@@ -491,8 +493,8 @@ skip_xmit:
                cvmx_scratch_write64(CVMX_SCR_SCRATCH, old_scratch);
                cvmx_scratch_write64(CVMX_SCR_SCRATCH + 8, old_scratch2);
        } else {
-               total_to_clean = cvmx_fau_fetch_and_add32(
-                                               FAU_TOTAL_TX_TO_CLEAN, 1);
+               total_to_clean =
+                       cvmx_fau_fetch_and_add32(FAU_TOTAL_TX_TO_CLEAN, 1);
        }
 
        if (total_to_clean & 0x3ff) {