Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1338833

[PATCH 2/3] btrfs: backref: Fixed string formatting error

From Simon Quigley <tsimonq2@ubuntu.com>
Newsgroups linux.kernel
Subject [PATCH 2/3] btrfs: backref: Fixed string formatting error
Date 2016-02-21 02:40 +0100
Message-ID <r4raa-6CT-5@gated-at.bofh.it> (permalink)
References <r4ra9-6CT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Checkpatch reported an error that there was a multi-line string.

This puts the string on one line and the variables on another.

Signed-off-by: Simon Quigley <tsimonq2@ubuntu.com>
---
 fs/btrfs/backref.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index a2c0595..632845a 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -1696,9 +1696,8 @@ int iterate_extent_inodes(struct btrfs_fs_info *fs_info,
 			break;
 		ULIST_ITER_INIT(&root_uiter);
 		while (!ret && (root_node = ulist_next(roots, &root_uiter))) {
-			pr_debug("root %llu references leaf %llu, data list "
-				 "%#llx\n", root_node->val, ref_node->val,
-				 ref_node->aux);
+			pr_debug("root %llu references leaf %llu, data list %#llx\n",
+				root_node->val, ref_node->val, ref_node->aux);
 			ret = iterate_leaf_refs((struct extent_inode_elem *)
 						(uintptr_t)ref_node->aux,
 						root_node->val,
-- 
2.7.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 2/3] btrfs: backref: Fixed string formatting error Simon Quigley <tsimonq2@ubuntu.com> - 2016-02-21 02:40 +0100

csiph-web