diff options
author | Yangtao Li <frank.li@vivo.com> | 2022-11-29 07:15:23 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-13 01:59:39 +0300 |
commit | 7411143f2021530d7641fbb40daaada4ee63f7e6 (patch) | |
tree | 92498e81a0d39cb63253df6183958ab8e03058f8 /kernel/range.c | |
parent | 25547439f1dcc3def6062bd3e69165cd806a594e (diff) | |
download | linux-7411143f2021530d7641fbb40daaada4ee63f7e6.tar.xz |
f2fs: fix some format WARNING in debug.c and sysfs.c
To fix:
WARNING: function definition argument 'struct f2fs_attr *' should also have an identifier name
+ ssize_t (*show)(struct f2fs_attr *, struct f2fs_sb_info *, char *);
WARNING: return sysfs_emit(...) formats should include a terminating newline
+ return sysfs_emit(buf, "(none)");
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+ unsigned npages = NODE_MAPPING(sbi)->nrpages;
WARNING: Missing a blank line after declarations
+ unsigned npages = COMPRESS_MAPPING(sbi)->nrpages;
+ si->page_mem += (unsigned long long)npages << PAGE_SHIFT;
WARNING: quoted string split across lines
+ seq_printf(s, "CP merge (Queued: %4d, Issued: %4d, Total: %4d, "
+ "Cur time: %4d(ms), Peak time: %4d(ms))\n",
Signed-off-by: Yangtao Li <frank.li@vivo.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel/range.c')
0 files changed, 0 insertions, 0 deletions