lkml.org 
[lkml]   [2021]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] fs/ntfs3: Use consistent spacing around '+'
On Wed, Sep 01, 2021 at 09:22:19PM -0700, Joe Perches wrote:
> On Tue, 2021-08-31 at 21:15 +0300, Kari Argillander wrote:
> > Use consistent spacing around '+' for better code reading. Checkpatch
> > will also be happy.
>
> I think you should remove the + instead

Konstantin can you look this as this was introduce by you just couple
days ago?

>
> > diff --git a/fs/ntfs3/frecord.c b/fs/ntfs3/frecord.c
> []
> > @@ -1451,7 +1451,7 @@ int ni_insert_resident(struct ntfs_inode *ni, u32 data_size,
> >   attr->res.flags = RESIDENT_FLAG_INDEXED;
> >  
> >
> >   /* is_attr_indexed(attr)) == true */
> > - le16_add_cpu(&ni->mi.mrec->hard_links, +1);
> > + le16_add_cpu(&ni->mi.mrec->hard_links, + 1);
>
> le16_add_cpu(&ni->mi.mrec->hard_links, 1);
>
>

\
 
 \ /
  Last update: 2021-09-02 10:10    [W:0.979 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site