From: Matias Bjorling Date: Wed, 26 Nov 2014 21:45:48 +0000 (-0700) Subject: null_blk: boundary check queue_mode and irqmode X-Git-Tag: omap-for-v3.20/drop-legacy-3517~91^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=709c8667ada1fa26ac941bb875892afc0046b3e2;p=pandora-kernel.git null_blk: boundary check queue_mode and irqmode When either queue_mode or irq_mode parameter is set outside its boundaries, the driver will not complete requests. This stalls driver initialization when partitions are probed. Fix by setting out of bound values to the parameters default. Signed-off-by: Matias Bjørling Updated by me to have the parse+check in just one function. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed