aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorAndré Almeida <andrealmeid@collabora.com>2019-09-16 11:07:58 -0300
committerJens Axboe <axboe@kernel.dk>2019-09-16 08:38:27 -0600
commit701dfc42884790e44073fcd4b131a0d6e2299cf3 (patch)
tree7f635176a79e85fd6fe4ba24119b64c895a9ebed /drivers/md
parentnull_blk: do not fail the module load with zero devices (diff)
downloadlinux-dev-701dfc42884790e44073fcd4b131a0d6e2299cf3.tar.xz
linux-dev-701dfc42884790e44073fcd4b131a0d6e2299cf3.zip
null_blk: match the type of parameter nr_devices
Since the variable nr_devices is an unsigned int, the module_param() should also use this type. Change the type so they can match. Fixes: f7c4ce890dd2 ("null_blk: validate the number of devices") Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: André Almeida <andrealmeid@collabora.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions