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

2015-03-07 Thread Greg KH
On Fri, Feb 27, 2015 at 11:50:01AM +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 | 38 -- >

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

2015-02-27 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 | 38 -- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/drivers/s