]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxgb4: Fix the -Wmisleading-indentation warning
authorKaixu Xia <kaixuxia@tencent.com>
Wed, 4 Nov 2020 05:24:04 +0000 (13:24 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:38:30 +0000 (10:38 +0200)
commit993103e7b4fb6e38cf07538c52e32b60993f0f52
treeba8937c19b66483fe19b95394480269c691778c1
parent9af1581d4976349a7917b59657f83e3bb2ec640c
cxgb4: Fix the -Wmisleading-indentation warning

commit ea8146c6845799142aa4ee2660741c215e340cdf upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c