[PATCH v2] staging: erofs: Add whitespace after declaration
Greg KH
gregkh at linuxfoundation.org
Sun Mar 17 22:11:50 AEDT 2019
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 at 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 :(
More information about the Linux-erofs
mailing list