linux/drivers/block
Johannes Thumshirn 5225229b8f floppy: use __bio_add_page for adding single page to bio
The floppy code uses bio_add_page() to add a page to a newly created bio.
bio_add_page() can fail, but the return value is never checked.

Use __bio_add_page() as adding a single page to a newly created bio is
guaranteed to succeed.

This brings us a step closer to marking bio_add_page() as __must_check.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/33c445a3b431270c72d9be03d5da1b08ae983920.1685532726.git.johannes.thumshirn@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-05-31 09:50:02 -06:00
..
aoe
drbd drbd: use __bio_add_page to add page to bio 2023-05-31 09:50:02 -06:00
mtip32xx
null_blk for-6.4/block-2023-05-06 2023-05-06 08:28:58 -07:00
rnbd block/rnbd: replace REQ_OP_FLUSH with REQ_OP_WRITE 2023-05-12 08:56:42 -06:00
xen-blkback xen/blkback: move blkif_get_x86_*_req() into blkback.c 2023-04-25 11:09:30 +02:00
zram zram: use __bio_add_page for adding single page to bio 2023-05-31 09:50:02 -06:00
amiflop.c
ataflop.c
brd.c brd: use XArray instead of radix-tree to index backing pages 2023-05-16 09:03:23 -06:00
floppy.c floppy: use __bio_add_page for adding single page to bio 2023-05-31 09:50:02 -06:00
Kconfig
loop.c
Makefile
n64cart.c
nbd.c nbd: Fix debugfs_create_dir error checking 2023-05-12 08:56:33 -06:00
pktcdvd.c Driver core changes for 6.4-rc1 2023-04-27 11:53:57 -07:00
ps3disk.c
ps3vram.c
rbd.c
rbd_types.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
ublk_drv.c ublk: fix build warning on iov_iter_get_pages2 2023-05-20 20:18:32 -06:00
virtio_blk.c
xen-blkfront.c
z2ram.c