Re: [PATCH] cxgb4: Fix the -Wmisleading-indentation warning

2020-11-07 Thread Jakub Kicinski
On Wed, 4 Nov 2020 13:24:04 +0800 xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > 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) \ > >

Re: [PATCH] cxgb4: Fix the -Wmisleading-indentation warning

2020-11-05 Thread Joe Perches
On Wed, 2020-11-04 at 13:24 +0800, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > 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) \

[PATCH] cxgb4: Fix the -Wmisleading-indentation warning

2020-11-03 Thread xiakaixu1987
From: Kaixu Xia 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 Signed-off-by: Kaixu Xia ---