aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhu Yanjun <[email protected]>2024-07-04 03:06:38 +0200
committerJens Axboe <[email protected]>2024-07-04 02:05:54 -0600
commita18df07b7d3dbfa7ae54962cc59569002eaafd6d (patch)
tree71512a55e49622d7b746d1dd151ae60401b626d7
parent7d251bec70171bde2c6fc5b51800d067245a9506 (diff)
null_blk: don't initialize static 'g_virt_boundary' to false
No functional changes intended. Signed-off-by: Zhu Yanjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--drivers/block/null_blk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/null_blk/main.c b/drivers/block/null_blk/main.c
index 5de9ca4eceb4..cbf4b29b1687 100644
--- a/drivers/block/null_blk/main.c
+++ b/drivers/block/null_blk/main.c
@@ -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");