[PATCH] staging: erofs: Add a blank line after declarations
Chao Yu
yuchao0 at huawei.com
Thu Dec 13 21:34:20 AEDT 2018
On 2018/12/13 9:51, Gao Xiang wrote:
> Hi Sungkyung,
>
> On 2018/12/12 23:50, Sungkyung Kim wrote:
>> Fix a warning from checkpathch.pl: 'Missing a blank line after
>> declarations'
>>
>> Signed-off-by: Sungkyung Kim <jotun9935 at gmail.com>
>> ---
>> 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.
Agreed, it needs to check all files, and fix similar coding style issues in
one patch.
Thanks,
>
> Thanks,
> Gao Xiang
>
>> vi->nid = nid;
>>
>> err = fill_inode(inode, isdir);
>>
>
> .
>
More information about the Linux-erofs
mailing list