Thread (1 message) 1 message, 1 author, 2021-10-25

Re: [PATCH] virtio_blk: corrent types for status handling

flat view

From: Christoph Hellwig <hch@lst.de>
Date: 2021-10-25 08:41:12
Also in: linux-block, lkml

On Mon, Oct 25, 2021 at 11:24:57AM +0300, Max Gurtovoy wrote:
Maybe we can compare the returned status to BLK_STS_OK. But I see we don't 
do it also in NVMe subsystem so I guess we can assume BLK_STS_OK == 0 
forever.
Jes,  BLK_STS_OK == 0 is an intentional allowed short cut.  It is not
just a block layer design, but part of how the sparse __bitwise__
annotations work.
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help