Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mm: remove redundant static variable initializations
@ 2026-06-23 11:47 Igor Putko
  2026-06-23 11:47 ` [PATCH 1/2] mm/kasan: remove redundant initialization for kasan_flag_write_only Igor Putko
  2026-06-23 11:47 ` [PATCH 2/2] mm/memory-failure: remove redundant initialization for hw_memory_failure Igor Putko
  0 siblings, 2 replies; 3+ messages in thread
From: Igor Putko @ 2026-06-23 11:47 UTC (permalink / raw)
  To: ryabinin.a.a, glider, andreyknvl, dvyukov, vincenzo.frascino,
	linmiaohe, nao.horiguchi
  Cc: akpm, kasan-dev, linux-mm, linux-kernel, Igor Putko

This series removes explicit initializations of static bool variables to
false within the mm/ subsystem. In C, static variables without explicit
initialization are implicitly placed in the .bss section and initialized
to zero/false by default. Removing these explicit initializations follows
the Linux kernel coding style and avoids cluttering the data section.

Igor Putko (2):
  mm/kasan: remove redundant initialization for kasan_flag_write_only
  mm/memory-failure: remove redundant initialization for
    hw_memory_failure

 mm/kasan/hw_tags.c  | 2 +-
 mm/memory-failure.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-23 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 11:47 [PATCH 0/2] mm: remove redundant static variable initializations Igor Putko
2026-06-23 11:47 ` [PATCH 1/2] mm/kasan: remove redundant initialization for kasan_flag_write_only Igor Putko
2026-06-23 11:47 ` [PATCH 2/2] mm/memory-failure: remove redundant initialization for hw_memory_failure Igor Putko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox