lkml.org 
[lkml]   [2019]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] staging: erofs: Add whitespace after declaration
On Sat, Mar 16, 2019 at 04:59:58PM +0530, Bharath Vedartham wrote:
> Fix the checkpatch.pl warning to add a whitespace after declaration
> statements.
>
> Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
> ---
> Changes since v2
> - Mutt was giving me a few problems. I apologise for the
> previous poor patches.
> ---
> drivers/staging/erofs/inode.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/staging/erofs/inode.c b/drivers/staging/erofs/inode.c
> index 924b8df..9a36a1f 100644
> --- a/drivers/staging/erofs/inode.c
> +++ b/drivers/staging/erofs/inode.c
> @@ -270,8 +270,8 @@ struct inode *erofs_iget(struct super_block *sb,
> if (inode->i_state & I_NEW) {
> int err;
> struct erofs_vnode *vi = EROFS_V(inode);
> - vi->nid = nid;
>
> + vi->nid = nid;
> err = fill_inode(inode, isdir);
> if (likely(!err))
> unlock_new_inode(inode);
> @@ -305,4 +305,3 @@ const struct inode_operations erofs_fast_symlink_iops = {
> #endif
> .get_acl = erofs_get_acl,
> };
> -

You also removed the last line of the file, which you did not mention :(

\
 
 \ /
  Last update: 2019-03-17 12:13    [W:0.051 / U:0.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site