OSDN Git Service

net/mlx5: Align to match opening parenthesis
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 28 May 2017 12:40:43 +0000 (15:40 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 15 Jun 2017 21:12:40 +0000 (00:12 +0300)
Fixed checkpatch complaints of the form:

 CHECK: Alignment should match open parenthesis

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c

index e283095..c1d8b0b 100644 (file)
@@ -1151,7 +1151,7 @@ err_alloc:
 }
 
 static void mlx5_free_cmd_msg(struct mlx5_core_dev *dev,
-                                 struct mlx5_cmd_msg *msg)
+                             struct mlx5_cmd_msg *msg)
 {
        struct mlx5_cmd_mailbox *head = msg->next;
        struct mlx5_cmd_mailbox *next;
index c803a53..9dad80f 100644 (file)
@@ -124,7 +124,8 @@ static void mlx5e_update_carrier(struct mlx5e_priv *priv)
        u8 port_state;
 
        port_state = mlx5_query_vport_state(mdev,
-               MLX5_QUERY_VPORT_STATE_IN_OP_MOD_VNIC_VPORT, 0);
+                                           MLX5_QUERY_VPORT_STATE_IN_OP_MOD_VNIC_VPORT,
+                                           0);
 
        if (port_state == VPORT_STATE_UP) {
                netdev_info(priv->netdev, "Link up\n");
@@ -3850,7 +3851,7 @@ void mlx5e_build_nic_params(struct mlx5_core_dev *mdev,
        /* set CQE compression */
        params->rx_cqe_compress_def = false;
        if (MLX5_CAP_GEN(mdev, cqe_compression) &&
-            MLX5_CAP_GEN(mdev, vport_group_manager))
+           MLX5_CAP_GEN(mdev, vport_group_manager))
                params->rx_cqe_compress_def = cqe_compress_heuristic(link_speed, pci_bw);
 
        MLX5E_SET_PFLAG(params, MLX5E_PFLAG_RX_CQE_COMPRESS, params->rx_cqe_compress_def);
index ab3bb02..ef3e191 100644 (file)
@@ -245,7 +245,7 @@ mlx5e_txwqe_build_dsegs(struct mlx5e_txqsq *sq, struct sk_buff *skb,
                int fsz = skb_frag_size(frag);
 
                dma_addr = skb_frag_dma_map(sq->pdev, frag, 0, fsz,
-                                    DMA_TO_DEVICE);
+                                           DMA_TO_DEVICE);
                if (unlikely(dma_mapping_error(sq->pdev, dma_addr)))
                        return -ENOMEM;
 
index 3795943..877395f 100644 (file)
@@ -691,7 +691,7 @@ mlx5_eswitch_create_vport_rx_rule(struct mlx5_eswitch *esw, int vport, u32 tirn)
 
        flow_act.action = MLX5_FLOW_CONTEXT_ACTION_FWD_DEST;
        flow_rule = mlx5_add_flow_rules(esw->offloads.ft_offloads, spec,
-                                      &flow_act, &dest, 1);
+                                       &flow_act, &dest, 1);
        if (IS_ERR(flow_rule)) {
                esw_warn(esw->dev, "fs offloads: Failed to add vport rx rule err %ld\n", PTR_ERR(flow_rule));
                goto out;