diff options
author | Yangtao Li <frank.li@vivo.com> | 2022-11-29 12:15:23 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2022-12-12 14:59:39 -0800 |
commit | 7411143f2021530d7641fbb40daaada4ee63f7e6 (patch) | |
tree | 92498e81a0d39cb63253df6183958ab8e03058f8 /COPYING | |
parent | 25547439f1dcc3def6062bd3e69165cd806a594e (diff) | |
download | linux-stable-7411143f2021530d7641fbb40daaada4ee63f7e6.tar.gz linux-stable-7411143f2021530d7641fbb40daaada4ee63f7e6.tar.bz2 linux-stable-7411143f2021530d7641fbb40daaada4ee63f7e6.zip |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions