block: Dedicated error code fixups
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 13 Jun 2017 15:07:33 +0000 (08:07 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 16 Jun 2017 15:47:15 +0000 (09:47 -0600)
commita462b950834945db22f94aa98181f861eff0574d
tree400c890efdbde6621d4d27c2bdb35e6461b9908d
parent047385b3dd85622768a882fc457a37e040640389
block: Dedicated error code fixups

This patch fixes two sparse warnings introduced by the "dedicated
error codes for the block layer V3" patch series. These changes
have not been tested.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio.c
block/t10-pi.c