diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-11-04 13:24:04 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-07 11:56:03 -0800 |
commit | ea8146c6845799142aa4ee2660741c215e340cdf (patch) | |
tree | 784e2ce3350621c9bbc520f43ac2c080875fdb67 | |
parent | 0798827b47d3d9a56ef8985f1f7c8456994572ed (diff) | |
download | linux-ea8146c6845799142aa4ee2660741c215e340cdf.tar.gz linux-ea8146c6845799142aa4ee2660741c215e340cdf.tar.bz2 linux-ea8146c6845799142aa4ee2660741c215e340cdf.zip |
cxgb4: Fix the -Wmisleading-indentation warning
Fix the gcc warning:
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2673:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
2673 | for (i = 0; i < n; ++i) \
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604467444-23043-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c index 0273f40b85f7..c24d34a937c8 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c @@ -2671,7 +2671,7 @@ do { \ seq_printf(seq, "%-12s", s); \ for (i = 0; i < n; ++i) \ seq_printf(seq, " %16" fmt_spec, v); \ - seq_putc(seq, '\n'); \ + seq_putc(seq, '\n'); \ } while (0) #define S(s, v) S3("s", s, v) #define T3(fmt_spec, s, v) S3(fmt_spec, s, tx[i].v) |