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: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Wei Yongjun 2018-06-05 09:15:12 +00:00 committed by Jens Axboe
parent d2ac838e4c
commit 21ff1399ad
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
#include "pblk.h"
unsigned int write_buffer_size;
static unsigned int write_buffer_size;
module_param(write_buffer_size, uint, 0644);
MODULE_PARM_DESC(write_buffer_size, "number of entries in a write buffer");