android_kernel_samsung_a7y1.../block
Ming Lei d218c1bc92 blk-mq: make sure that line break can be printed
commit d2c9be89f8ebe7ebcc97676ac40f8dec1cf9b43a upstream.

8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores")
avoids sysfs buffer overflow, and reserves one character for line break.
However, the last snprintf() doesn't get correct 'size' parameter passed
in, so fixed it.

Fixes: 8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 13:08:08 +02:00
..
partitions A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bio-integrity.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bio.c block: do not leak memory in bio_copy_user_iov() 2020-04-06 15:08:22 +02:00
blk-cgroup.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-exec.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-flush.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-integrity.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-ioc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-iopoll.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-lib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-map.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-merge.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq-cpu.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq-cpumap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq-sysfs.c blk-mq: make sure that line break can be printed 2020-04-07 13:08:08 +02:00
blk-mq-tag.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq-tag.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-mq.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-settings.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-softirq.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-sysfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-tag.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-throttle.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk-timeout.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
blk.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bounce.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bsg-lib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
bsg.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cfq-iosched.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cmdline-parser.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
compat_ioctl.c take floppy compat ioctls to sodding floppy.c 2020-04-06 20:04:33 +02:00
deadline-iosched.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
elevator.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
genhd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioctl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ioprio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.iosched A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
noop-iosched.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
partition-generic.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
scsi_ioctl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
t10-pi.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30