linux-xiaomi-chiron/drivers/block
Matthias Kaehlcke f357e345ee zram: rework copy of compressor name in comp_algorithm_store()
comp_algorithm_store() passes the size of the source buffer to strlcpy()
instead of the destination buffer size.  Make it explicit that the two
buffers have the same size and use strcpy() instead of strlcpy().  The
latter can be done safely since the function ensures that the string in
the source buffer is terminated.

Link: http://lkml.kernel.org/r/20170803163350.45245-1-mka@chromium.org
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Acked-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-08-10 15:54:07 -07:00
..
aoe
drbd
mtip32xx Merge branch 'nvme-4.13' of git://git.infradead.org/nvme into for-linus 2017-07-10 11:44:34 -06:00
paride
rsxx
xen-blkback
zram zram: rework copy of compressor name in comp_algorithm_store() 2017-08-10 15:54:07 -07:00
amiflop.c
ataflop.c
brd.c ARM: fix rd_size declaration 2017-07-10 16:32:34 -07:00
cciss.c cciss: initialize struct scsi_req 2017-07-06 12:23:51 -06:00
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2017-07-06 20:57:13 -07:00
Kconfig
loop.c
loop.h
Makefile
nbd.c nbd: clear disconnected on reconnect 2017-07-25 13:58:34 -06:00
null_blk.c null_blk: fix error flow for shared tags during module_init 2017-07-06 09:52:09 -06:00
pktcdvd.c
ps3disk.c
ps3vram.c
rbd.c
rbd_types.h
skd_main.c
skd_s1120.h
smart1,2.h
sunvdc.c sunvdc: prevent sunvdc panic when mpgroup disk added to guest domain 2017-08-09 22:22:32 -07:00
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c
umem.h
virtio_blk.c virtio_blk: Use sysfs_match_string() helper 2017-07-25 16:37:34 +03:00
xen-blkfront.c xen/blkfront: always allocate grants first from per-queue persistent grants 2017-07-25 11:31:09 -04:00
xsysace.c
z2ram.c