Re: [PATCH] block: fix checking return value of blk_mq_init_queue

From: Jens Axboe
Date: Fri Jan 02 2015 - 10:53:27 EST


On 01/02/2015 07:25 AM, Ming Lei wrote:
Check IS_ERR_OR_NULL(return value) instead of just return value.

Thanks Ming, applied.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/