OpenCloudOS-Kernel/drivers/md/bcache
Coly Li 4b25bbf52a 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>
2020-06-14 16:47:56 -06:00
..
Kconfig bcache: configure the asynchronous registertion to be experimental 2020-05-27 05:19:36 -06:00
Makefile bcache: remove the extra cflags for request.o 2019-11-13 15:42:50 -07:00
alloc.c Revert "bcache: ignore pending signals when creating gc and allocator thread" 2020-03-02 20:01:32 -07:00
bcache.h bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
bset.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
bset.h bcache: explicity type cast in bset_bkey_last() 2020-02-01 07:55:39 -07:00
btree.c bcache: fix potential deadlock problem in btree_gc_coalesce 2020-06-14 16:47:56 -06:00
btree.h bcache: remove dupplicated declaration from btree.h 2020-03-24 19:56:42 -06:00
closure.c bcache: don't export symbols 2019-11-13 15:42:51 -07:00
closure.h bcache: fix typo in code comments of closure_return_with_destructor() 2018-10-08 08:19:43 -06:00
debug.c bcache: Fix an error code in bch_dump_read() 2019-09-03 08:08:29 -06:00
debug.h bcache: add identifier names to arguments of function definitions 2018-08-11 15:46:41 -06:00
extents.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
extents.h bcache: add identifier names to arguments of function definitions 2018-08-11 15:46:41 -06:00
io.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
journal.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
journal.h Revert "bcache: fix fifo index swapping condition in journal_pin_cmp()" 2019-11-18 08:35:47 -07:00
movinggc.c bcache: style fix to add a blank line after declarations 2018-08-11 15:46:41 -06:00
request.c for-5.8/drivers-2020-06-01 2020-06-02 15:37:03 -07:00
request.h bcache: pass the make_request methods to blk_queue_make_request 2020-03-27 10:23:43 -06:00
stats.c bcache: fix memory corruption in bch_cache_accounting_clear() 2020-02-01 07:55:39 -07:00
stats.h bcache: add identifier names to arguments of function definitions 2018-08-11 15:46:41 -06:00
super.c bcache: pr_info() format clean up in bcache_device_init() 2020-06-14 16:47:56 -06:00
sysfs.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
sysfs.h bcache: add sysfs_strtoul_bool() for setting bit-field variables 2019-02-09 07:18:32 -07:00
trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c bcache: avoid to use bio_for_each_segment_all() in bch_bio_alloc_pages() 2019-02-15 08:40:11 -07:00
util.h bcache: Revert "bcache: fix high CPU occupancy during journal" 2019-06-28 07:39:17 -06:00
writeback.c bcache: Convert pr_<level> uses to a more typical style 2020-05-27 05:19:36 -06:00
writeback.h bcache: make bch_sectors_dirty_init() to be multithreaded 2020-03-22 10:06:57 -06:00