Skip to contentSkip to conversation

staging: erofs: Add whitespace after declaration

PATCH In review Bharath Vedartham 3 participants 4 messages Mar 18, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: erofs: Add whitespace after declaration

Add whitespace after declaration. Fixed the checkpatch.pl warning.

---
changes since v2
- mutt gave me a lot of problems. Hence 3 patches for a really small problem.
- Fixed the extra missing line.

Signed-off-by Bharath Vedartham <linux.bhar at gmail.com>
---
 drivers/staging/erofs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/erofs/inode.c +1 -1
index 924b8df..e09d29f 100644
@@ -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);
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 3 lines · Bharath Vedartham

Add whitespace after declaration. Fixed the checkpatch.pl warning.

---

No signed-off-by?

Quoted 6 lines

changes since v2
- mutt gave me a lot of problems. Hence 3 patches for a really small problem.
- Fixed the extra missing line.

Signed-off-by Bharath Vedartham <linux.bhar at gmail.com>

It needs to be above the --- line, otherwise it will be stripped off when applied.

v4 please?

thanks,

greg k-h

#2 lore raw
Quoted 12 lines · Greg KH
Quoted 3 lines · Bharath Vedartham

Add whitespace after declaration. Fixed the checkpatch.pl warning.

---

No signed-off-by?

Quoted 5 lines

changes since v2
- mutt gave me a lot of problems. Hence 3 patches for a really small problem.
- Fixed the extra missing line.

Quoted 6 lines
Quoted 1 line
Signed-off-by Bharath Vedartham <linux.bhar at gmail.com>

It needs to be above the --- line, otherwise it will be stripped off when applied.

v4 please?

Actually a duplicate commit, see:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&id=8af36478f9516d51fcfedf9b9ed8905a1c00d278

several people submit patches on this line in erofs_iget()....

Thanks,
Gao Xiang

Quoted 5 lines

thanks,

greg k-h

#3 lore raw
Quoted 15 lines · Gao Xiang
Quoted 12 lines · Greg KH
Quoted 3 lines · Bharath Vedartham

Add whitespace after declaration. Fixed the checkpatch.pl warning.

---

No signed-off-by?

Quoted 5 lines

changes since v2
- mutt gave me a lot of problems. Hence 3 patches for a really small problem.
- Fixed the extra missing line.

Quoted 6 lines
Quoted 6 lines
Quoted 1 line
Signed-off-by Bharath Vedartham <linux.bhar at gmail.com>

It needs to be above the --- line, otherwise it will be stripped off when applied.

v4 please?

Missed that! Really sorry!

Quoted 6 lines

Actually a duplicate commit, see:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/commit/?h=staging-next&id=8af36478f9516d51fcfedf9b9ed8905a1c00d278

several people submit patches on this line in erofs_iget()....

Oh alright then! I ll stop this patch here! Thank for your time! I have noticed that there are a few functions and structs local to a file in erofs without static declaration. I ll send a patch soon.

Quoted 8 lines

Thanks,
Gao Xiang

Quoted 5 lines

thanks,

greg k-h