>That's the best description for this? I don't understand this, do you? > >Why no ' ' after and before '*'? because the in C we prefer in the comment in like that /*....*/ not like this /'*'....'*'/ If I used this there is not problem the compiler should read as a comment because in normal C program we can use comment in these pattern /..../ but according to Linux kernel Coding style And I am not sure it is the best description may be it is not fully correct if you want to do some change in comment than I can. Thank you, On Tue, Sep 27, 2016 at 4:46 PM, Greg KH wrote: > On Tue, Sep 27, 2016 at 04:15:12PM +0530, Anchal Jain wrote: > > Fix the checkpatch.pl issues: > > CHECK: struct mutes definition without comment > > > > Signed-off-by: Anchal Jain > > --- > > drivers/staging/iio/cdc/ad7150.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ > ad7150.c > > index f6b9a10..88c6ebe 100644 > > --- a/drivers/staging/iio/cdc/ad7150.c > > +++ b/drivers/staging/iio/cdc/ad7150.c > > @@ -78,7 +78,7 @@ struct ad7150_chip_info { > > u8 mag_timeout[2][2]; > > int old_state; > > char *conversion_mode; > > - struct mutex state_lock; > > + struct mutex state_lock; /*generic mutex for cdc and drivers*/ > > That's the best description for this? I don't understand this, do you? > > Why no ' ' after and before '*'? > > thnks, > > greg k-h >