Re: [PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Du Cheng
On Tue, Feb 16, 2021 at 12:28:01PM +0100, Greg Kroah-Hartman wrote: > On Tue, Feb 16, 2021 at 07:13:53PM +0800, Du Cheng wrote: > > fix macro gb_loopback_stats_attrs by wrapping its multi-line definition > > inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. > > > >

Re: [PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Greg Kroah-Hartman
On Tue, Feb 16, 2021 at 07:13:53PM +0800, Du Cheng wrote: > fix macro gb_loopback_stats_attrs by wrapping its multi-line definition > inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. > > Signed-off-by: Du Cheng > --- > changes v2: > * relign backslashes with tabstop=8 > *

Re: [PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Dan Carpenter
On Tue, Feb 16, 2021 at 07:13:53PM +0800, Du Cheng wrote: > fix macro gb_loopback_stats_attrs by wrapping its multi-line definition > inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. > > Signed-off-by: Du Cheng > --- > changes v2: > * relign backslashes with tabstop=8 > *

[PATCH v2] staging: greybus: fix coding style of greybus/loopback.c

2021-02-16 Thread Du Cheng
fix macro gb_loopback_stats_attrs by wrapping its multi-line definition inside a do {} while(0) block, in compliance to scripts/checkpatch.pl. Signed-off-by: Du Cheng --- changes v2: * relign backslashes with tabstop=8 * improve description and subject changes v1: * fix coding style of the