On Wed, Jul 12, 2017 at 10:26:34AM +0300, Dan Carpenter wrote: > We should be returning normal negative error codes here. The "a" > variables comes from &c->async_write_error which is a blk_status_t > converted to a regular error code. > > In the current code, the blk_status_t gets propogated back to > pool_create() and eventually results in an Oops. And sparse correctly warns about this, so no idea how this slipped in.. > > Fixes: 4e4cbee93d56 ("block: switch bios to blk_status_t") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html