Skip to content

Commit

Permalink
null_blk: don't initialize static 'g_virt_boundary' to false
Browse files Browse the repository at this point in the history
No functional changes intended.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Link: https://lore.kernel.org/r/20240704010638.324349-1-yanjun.zhu@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Zhu Yanjun authored and Jens Axboe committed Jul 4, 2024
1 parent 7d251be commit a18df07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/block/null_blk/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ enum {
NULL_IRQ_TIMER = 2,
};

static bool g_virt_boundary = false;
static bool g_virt_boundary;
module_param_named(virt_boundary, g_virt_boundary, bool, 0444);
MODULE_PARM_DESC(virt_boundary, "Require a virtual boundary for the device. Default: False");

Expand Down

0 comments on commit a18df07

Please sign in to comment.