Skip to contentSkip to conversation

net/mlx5: add a missing tab

PATCH In review Dan Carpenter 2 participants 4 messages Aug 1, 2017 – Aug 29, 2017

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/mlx5: add a missing tab

The code works as intended, but the indenting is confusing.

drivers/net/ethernet/mellanox/mlx5/core/sriov.c +1 -1
index 28d8472b36f1..c410360da58d 100644
@@ -113,7 +113,7 @@ static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs)
 				mlx5_core_warn(dev,
 					       "failed to restore VF %d settings, err %d\n",
 					       vf, err);
-			continue;
+				continue;
 			}
 		}
 		mlx5_core_dbg(dev, "successfully enabled VF* %d\n", vf);
#1 lore raw
Quoted 3 lines · Dan Carpenter

The code works as intended, but the indenting is confusing.

You didn't include netdev on this patch, and I haven't seen a note from janitors that they took it, so I decided to send it on through. It's minor enough it shouldn't be an issue conflicting with Dave's tree I would think. I'll know I was wrong if I get yelled at.

Quoted 22 lines
drivers/net/ethernet/mellanox/mlx5/core/sriov.c +1 -1
index 28d8472b36f1..c410360da58d 100644
@@ -113,7 +113,7 @@ static int mlx5_device_enable_sriov(struct
 mlx5_core_dev *dev, int num_vfs)
 				mlx5_core_warn(dev,
 					       "failed to restore VF
 %d settings, err %d\n",
 					       vf, err);
-			continue;
+				continue;
 			}
drivers/net/ethernet/mellanox/mlx5/core/sriov.c +0 -0
 		}
 		mlx5_core_dbg(dev, "successfully enabled VF* %d\n",

vf);
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 3 lines
Doug Ledford <[email protected]>
    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD
#2 lore raw
Quoted 10 lines · Doug Ledford
Quoted 3 lines · Dan Carpenter

The code works as intended, but the indenting is confusing.

You didn't include netdev on this patch, and I haven't seen a note from janitors that they took it, so I decided to send it on through. It's minor enough it shouldn't be an issue conflicting with Dave's tree I would think. I'll know I was wrong if I get yelled at.

Ooo... Wow. Don't do that. You're going to get me yelled at too.

I guess I thought this went through the RDMA tree but looking at it now it's obvioulsy net.

regards,
dan carpetner

#3 lore raw
Quoted 15 lines · Dan Carpenter
Quoted 5 lines · Doug Ledford
Quoted 3 lines · Dan Carpenter

The code works as intended, but the indenting is confusing.

Quoted 8 lines

You didn't include netdev on this patch, and I haven't seen a note from
janitors that they took it, so I decided to send it on through. It's
minor enough it shouldn't be an issue conflicting with Dave's tree I
would think. I'll know I was wrong if I get yelled at.

Quoted 5 lines

Ooo... Wow. Don't do that. You're going to get me yelled at too.

I guess I thought this went through the RDMA tree but looking at it now
it's obvioulsy net.

Fortunately for us, I only pushed this to github last night, so I can still drop this out of my branch before pushing to k.o. I'll let you submit it to the proper place :-)

---
Doug Ledford <[email protected]>

    GPG KeyID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD