Re: [PATCH] staging: erofs: Add a blank line after declarations

From: Gao Xiang
Date: Wed Dec 12 2018 - 22:43:10 EST




On 2018/12/13 11:29, êìê wrote:
> Thank you. I appreciate it for yourÂprompt reply.
>
>
> As a result of checking through 'checkpatch.pl <http://checkpatch.pl>', there was only one coding style problem in 'erofs / inode.c' file.
>
>
> I will check for other files and send the patch file soon.

Yes, if you confirm that this is the only one place, I think this patch is ok for me personally. :)

Thanks,
Gao Xiang

>
>
> Thanks,
>
> Sungkyung KimÂ
>
>
> 2018ë 12ì 13ì (ë) ìì 10:51, Gao Xiang <gaoxiang25@xxxxxxxxxx <mailto:gaoxiang25@xxxxxxxxxx>>ëì ìì:
>
> Hi Sungkyung,
>
> On 2018/12/12 23:50, Sungkyung Kim wrote:
> > Fix a warning from checkpathch.pl <http://checkpathch.pl>: 'Missing a blank line after
> > declarations'
> >
> > Signed-off-by: Sungkyung Kim <jotun9935@xxxxxxxxx <mailto:jotun9935@xxxxxxxxx>>
> > ---
> >Â drivers/staging/erofs/inode.c | 1 +
> >Â 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/staging/erofs/inode.c b/drivers/staging/erofs/inode.c
> > index 04c61a9d7b76..82b6ad5badff 100644
> > --- a/drivers/staging/erofs/inode.c
> > +++ b/drivers/staging/erofs/inode.c
> > @@ -278,6 +278,7 @@ struct inode *erofs_iget(struct super_block *sb,
> >Â Â Â Âif (inode->i_state & I_NEW) {
> >Â Â Â Â Â Â Â Âint err;
> >Â Â Â Â Â Â Â Âstruct erofs_vnode *vi = EROFS_V(inode);
> > +
>
> Thanks for your patch, is there a only one 'Missing a blank line after declarations' in erofs?
>
> If not, could you have time check the other files? That is my personal thought, and
> I cc-ed the staging mailing list as well.
>
> Thanks,
> Gao Xiang
>
> >Â Â Â Â Â Â Â Âvi->nid = nid;
>
> >Â Â Â Â Â Â Â Âerr = fill_inode(inode, isdir);
> >
>