Thread (11 messages) 11 messages, 3 authors, 2016-02-22

Re: [PATCH] btrfs: backref: Fixed checkpatch warning of over 80 characters

From: Joe Perches <joe@perches.com>
Date: 2016-02-21 00:02:36
Also in: lkml

On Sat, 2016-02-20 at 12:17 -0600, Simon Quigley wrote:
checkpatch.pl reported a warning of over 80 characters on line 1833
[]
quoted hunk ↗ jump to hunk
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
[]
quoted hunk ↗ jump to hunk
@@ -1830,7 +1830,11 @@ static int iterate_inode_extrefs(u64 inum, struct btrfs_root *fs_root,
 	unsigned long ptr;
 
 	while (1) {
-		ret = btrfs_find_one_extref(fs_root, inum, offset, path, &extref,
+		ret = btrfs_find_one_extref(fs_root,
+						inum,
+						offset,
+						path,
+						&extref,
 					    &offset);
I think this is poor because all the arguments aren't aligned.

It'd be nicer like:

		ret = btrfs_find_one_extref(fs_root, inum, offset, path,
					    &extref, &offset);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help