diff options
author | Coly Li <colyli@suse.de> | 2020-06-14 19:53:33 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-15 01:47:56 +0300 |
commit | 4b25bbf52a55b58f03473333eafe61c0d46125aa (patch) | |
tree | 5077fcaf96026b147454d3bedde6799abc7af157 /block | |
parent | ee4a36f414617aaae01f93133e828363e7e9dd17 (diff) | |
download | linux-4b25bbf52a55b58f03473333eafe61c0d46125aa.tar.xz |
bcache: pr_info() format clean up in bcache_device_init()
scripts/checkpatch.pl reports following warning for patch
("bcache: check and adjust logical block size for backing devices"),
WARNING: quoted string split across lines
#146: FILE: drivers/md/bcache/super.c:896:
+ pr_info("%s: sb/logical block size (%u) greater than page size "
+ "(%lu) falling back to device logical block size (%u)",
There are two things to fix up,
- The kernel message print should be in a single line.
- pr_info() won't automatically add new line since v5.8, a '\n' should
be added.
This patch just does the above cleanup in bcache_device_init().
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions