]> 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 09:40:51 +0000 (11:40 +0200)
commita60855366be53dfaf185fdb8fad59ff0a5a0ff0a
tree62f6cf270fa571939871ec40a1c845f2c635b28d
parentc6034b618c1abc0084c12c6514fdae184d70df94
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