From: Ming Lei Date: Fri, 2 Jan 2015 14:25:27 +0000 (+0000) Subject: block: fix checking return value of blk_mq_init_queue X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~101^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35b489d32fcc37e8735f41aa794b24cf9d1e74f5;p=pandora-kernel.git block: fix checking return value of blk_mq_init_queue Check IS_ERR_OR_NULL(return value) instead of just return value. Signed-off-by: Ming Lei Reduced to IS_ERR() by me, we never return NULL. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed