Re: [PATCH] staging: dgnc: Warn on macro with flow control statements

2015-02-26 Thread Greg KH
On Fri, Feb 27, 2015 at 03:40:11AM +0100, Salah Triki wrote: > This fixes the following checkpatch.pl warnings: > WARNING: Macros with flow control statements should be avoided. > > Signed-off-by: Salah Triki > --- > drivers/staging/dgnc/dgnc_sysfs.c | 64 > -

[PATCH] staging: dgnc: Warn on macro with flow control statements

2015-02-26 Thread Salah Triki
This fixes the following checkpatch.pl warnings: WARNING: Macros with flow control statements should be avoided. Signed-off-by: Salah Triki --- drivers/staging/dgnc/dgnc_sysfs.c | 64 --- 1 file changed, 39 insertions(+), 25 deletions(-) diff --git a/drivers/