[PATCH V2 5/6] erofs-utils: fix print style
Huang Jianan
jnhuang95 at gmail.com
Fri Sep 3 23:40:34 AEST 2021
From: Huang Jianan <huangjianan at oppo.com>
Fix warning "quoted string split across lines".
Signed-off-by: Huang Jianan <huangjianan at oppo.com>
---
lib/inode.c | 3 +--
lib/io.c | 3 +--
lib/zmap.c | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/inode.c b/lib/inode.c
index 61dc802..6024e8c 100644
--- a/lib/inode.c
+++ b/lib/inode.c
@@ -741,8 +741,7 @@ int erofs_droid_inode_fsconfig(struct erofs_inode *inode,
cfg.target_out_path,
&uid, &gid, &mode, &inode->capabilities);
- erofs_dbg("/%s -> mode = 0x%x, uid = 0x%x, gid = 0x%x, "
- "capabilities = 0x%" PRIx64 "\n",
+ erofs_dbg("/%s -> mode = 0x%x, uid = 0x%x, gid = 0x%x, capabilities = 0x%" PRIx64 "\n",
fspath, mode, uid, gid, inode->capabilities);
if (decorated)
diff --git a/lib/io.c b/lib/io.c
index b053137..620cb9c 100644
--- a/lib/io.c
+++ b/lib/io.c
@@ -242,8 +242,7 @@ int dev_read(void *buf, u64 offset, size_t len)
}
if (offset >= erofs_devsz || len > erofs_devsz ||
offset > erofs_devsz - len) {
- erofs_err("read posion[%" PRIu64 ", %zd] is too large beyond"
- "the end of device(%" PRIu64 ").",
+ erofs_err("read posion[%" PRIu64 ", %zd] is too large beyond the end of device(%" PRIu64 ").",
offset, len, erofs_devsz);
return -EINVAL;
}
diff --git a/lib/zmap.c b/lib/zmap.c
index fdc84af..ce79601 100644
--- a/lib/zmap.c
+++ b/lib/zmap.c
@@ -57,8 +57,7 @@ static int z_erofs_fill_inode_lazy(struct erofs_inode *vi)
if (vi->datalayout == EROFS_INODE_FLAT_COMPRESSION &&
!(vi->z_advise & Z_EROFS_ADVISE_BIG_PCLUSTER_1) ^
!(vi->z_advise & Z_EROFS_ADVISE_BIG_PCLUSTER_2)) {
- erofs_err(
-"big pcluster head1/2 of compact indexes should be consistent for nid %llu",
+ erofs_err("big pcluster head1/2 of compact indexes should be consistent for nid %llu",
vi->nid * 1ULL);
return -EFSCORRUPTED;
}
--
2.25.1
More information about the Linux-erofs
mailing list