diff mbox series

[1/1] null_blk: Fix error "ERROR:INITIALISED_STATIC: do not initialise statics to false"

Message ID 20240704010638.324349-1-yanjun.zhu@linux.dev (mailing list archive)
State New, archived
Headers show
Series [1/1] null_blk: Fix error "ERROR:INITIALISED_STATIC: do not initialise statics to false" | expand

Commit Message

Zhu Yanjun July 4, 2024, 1:06 a.m. UTC
No functional changes intended.

Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
---
 drivers/block/null_blk/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jens Axboe July 4, 2024, 8:06 a.m. UTC | #1
On Thu, 04 Jul 2024 03:06:38 +0200, Zhu Yanjun wrote:
> No functional changes intended.
> 
> 

Applied, thanks!

[1/1] null_blk: Fix error "ERROR:INITIALISED_STATIC: do not initialise statics to false"
      commit: a18df07b7d3dbfa7ae54962cc59569002eaafd6d

Best regards,
diff mbox series

Patch

diff --git a/drivers/block/null_blk/main.c b/drivers/block/null_blk/main.c
index 75f189e42f88..ea3989dce3be 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");