Re: [PATCH] staging: greybus: loopback: Fix Coding Style Error

From: Ahamed Husni
Date: Thu Feb 17 2022 - 23:52:47 EST


Hi Greg,

On Fri, Feb 18, 2022 at 12:56 AM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> Did you try to build this change?

I am a newbie kernel dev and trying to understand how things work.
I did not build this change by the time I sent you this, thinking this
is just a style change.
I should have tested the build. I am sorry.

Now I built the changes by setting the following configurations.
CONFIG_GREYBUS
CONFIG_STAGING
CONFIG_GREYBUS_LOOPBACK

My change introduces the following error.
''''
drivers/staging/greybus/loopback.c:166:2: error: expected identifier
or ‘(’ before ‘do’
166 | do { \
| ^~
''''
I could not fix or find the reason for this error. Please guide me in
this regard.

Thanks,
Husni.