Skip to contentSkip to conversation

null_blk: Fix error "ERROR:INITIALISED_STATIC: do not initialise statics to false"

PATCH Applied Zhu Yanjun 2 participants 2 messages Jul 4, 2024 Block layer

lore
Share & tools
lore

Zhu Yanjun

author
#0 lore raw

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

No functional changes intended.

---
 drivers/block/null_blk/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/null_blk/main.c +1 -1
index 75f189e42f88..ea3989dce3be 100644
@@ -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");
 
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 3 lines · Zhu Yanjun

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,

Signature · 1 line
Jens Axboe