From: Robert Elliott Date: Tue, 2 Sep 2014 16:38:49 +0000 (-0500) Subject: blk-mq: pass along blk_mq_alloc_tag_set return values X-Git-Tag: fixes-for-v3.18-merge-window~132^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc501dc0d9dc9cbabc18b920f91a26c207e9476c;p=pandora-kernel.git blk-mq: pass along blk_mq_alloc_tag_set return values Two of the blk-mq based drivers do not pass back the return value from blk_mq_alloc_tag_set, instead just returning -ENOMEM. blk_mq_alloc_tag_set returns -EINVAL if the number of queues or queue depth is bad. -ENOMEM implies that retrying after freeing some memory might be more successful, but that won't ever change in the -EINVAL cases. Change the null_blk and mtip32xx drivers to pass along the return value. Signed-off-by: Robert Elliott Signed-off-by: Jens Axboe --- Reading git-diff-tree failed