Commit 21ff1399 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jens Axboe

lightnvm: pblk: make symbol write_buffer_size static

Fixes the following sparse warning:

drivers/lightnvm/pblk-init.c:23:14: warning:
 symbol 'write_buffer_size' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent d2ac838e
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "pblk.h" #include "pblk.h"
unsigned int write_buffer_size; static unsigned int write_buffer_size;
module_param(write_buffer_size, uint, 0644); module_param(write_buffer_size, uint, 0644);
MODULE_PARM_DESC(write_buffer_size, "number of entries in a write buffer"); MODULE_PARM_DESC(write_buffer_size, "number of entries in a write buffer");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment