aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMatias Bjorling <[email protected]>2014-11-26 14:45:48 -0700
committerJens Axboe <[email protected]>2014-11-26 14:45:48 -0700
commit709c8667ada1fa26ac941bb875892afc0046b3e2 (patch)
tree5d8c74e5ac0bc869bec66503dde23e7fae70a6ab /lib/mpi/mpiutil.c
parentfa573f72790c2c2b9bfd758c5d33959af4a39915 (diff)
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 <[email protected]> Updated by me to have the parse+check in just one function. Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions