Skip to content

mm: remove redundant static variable initializations

Igor Putko linux-mm lkml 1 version Applied

Status from this message: [merged mm-stable] mm-memory-failure-remove-redundant-initialization-for-hw_memory_failure.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/kasan: remove redundant initialization for kasan_flag_write_onlymm/kasan/hw_tags.c+1 -12 repliesApplied
2/2mm/memory-failure: remove redundant initialization for hw_memory_failuremm/memory-failure.c+1 -13 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSeongJae ParkLance YangMiaohe Lin
1/2R-b R-b
2/2R-b R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] mm: remove redundant static variable initializations

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(-)
Signature · 1 line
2.34.1