linux_dsm_epyc7002/drivers/block
Yufen Yu 96d7cb932e floppy: check_events callback should not return a negative number
floppy_check_events() is supposed to return bit flags to say which
events occured. We should return zero to say that no event flags are
set.  Only BIT(0) and BIT(1) are used in the caller. And .check_events
interface also expect to return an unsigned int value.

However, after commit a0c80efe59, it may return -EINTR (-4u).
Here, both BIT(0) and BIT(1) are cleared. So this patch shouldn't
affect runtime, but it obviously is still worth fixing.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: a0c80efe59 ("floppy: fix lock_fdc() signal handling")
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-02-12 09:13:18 -07:00
..
aoe
drbd for-4.21/block-20190102 2019-01-02 18:49:58 -08:00
mtip32xx
paride
rsxx
xen-blkback
zram zram: idle writeback fixes and cleanup 2019-01-08 17:15:10 -08:00
amiflop.c block/amiflop: Don't log error message on invalid ioctl 2018-12-31 10:19:11 -07:00
ataflop.c
brd.c
cryptoloop.c
floppy.c floppy: check_events callback should not return a negative number 2019-02-12 09:13:18 -07:00
Kconfig
loop.c loop: drop caches if offset or block_size are changed 2019-01-09 20:51:44 -07:00
loop.h
Makefile
nbd.c nbd: Use set_blocksize() to set device blocksize 2019-01-15 07:30:54 -07:00
null_blk_main.c
null_blk_zoned.c
null_blk.h null_blk: add zoned config support information 2019-01-06 10:58:27 -07:00
pktcdvd.c
ps3disk.c
ps3vram.c
rbd_types.h
rbd.c rbd: don't return 0 on unmap if RBD_DEV_FLAG_REMOVING is set 2019-01-10 09:45:09 +01:00
skd_main.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
skd_s1120.h
sunvdc.c block: sunvdc: don't run hw queue synchronously from irq context 2019-01-03 08:21:47 -07:00
swim3.c block/swim3: Fix regression on PowerBook G3 2018-12-31 10:19:19 -07:00
swim_asm.S
swim.c
sx8.c
umem.c
umem.h
virtio_blk.c virtio, vhost: features, fixes, cleanups 2019-01-02 18:54:45 -08:00
xen-blkfront.c
xsysace.c
z2ram.c