Thread (1 message) 1 message, 1 author, 2010-08-12

Re: [PATCH v2] BLOCK: fix bio.bi_rw handling

From: Jeff Moyer <hidden>
Date: 2010-08-12 13:37:04
Also in: linux-scsi, lkml

Jiri Slaby [off-list ref] writes:
Return of the bi_rw tests is no longer bool after commit 74450be1. But
results of such tests are stored in bools. This doesn't fit in there
for some compilers (gcc 4.5 here), so either use !! magic to get real
bools or use ulong where the result is assigned somewhere.

Signed-off-by: Jiri Slaby <redacted>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Jeff Moyer <redacted>

Cheers,
Jeff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help