projects
/
platform
/
upstream
/
erofs-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a306a5
)
erofs-utils: fix invalid argument type in erofs_err()
author
Hongzhen Luo
<hongzhen@linux.alibaba.com>
Mon, 5 Aug 2024 02:44:08 +0000
(10:44 +0800)
committer
Gao Xiang
<hsiangkao@linux.alibaba.com>
Tue, 6 Aug 2024 06:35:31 +0000
(14:35 +0800)
Coverity-id: 502378
Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com>
Reviewed-by: Sandeep Dhavale <dhavale@google.com>
Link:
https://lore.kernel.org/r/20240805024408.2598464-1-hongzhen@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
mkfs/main.c
patch
|
blob
|
history
diff --git
a/mkfs/main.c
b/mkfs/main.c
index 14dfdf96413990e311b2e0245e6db045342aa5e5..e39bddb2755a31950a3de532565853f6eb4c10fe 100644
(file)
--- a/
mkfs/main.c
+++ b/
mkfs/main.c
@@
-397,7
+397,7
@@
static int parse_extended_opts(const char *opts)
if (!z_erofs_mkfs_features[i].feat) {
erofs_err("unknown extended option %.*s",
-
p - token
, token);
+
(int)(p - token)
, token);
return -EINVAL;
}
}