Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 709c8667 authored by Matias Bjorling's avatar Matias Bjorling Committed by Jens Axboe
Browse files

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: default avatarMatias Bjørling <m@bjorling.me>

Updated by me to have the parse+check in just one function.

Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent fa573f72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment