summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorTianyi Chen <hi@tychen.cc>2026-09-23 11:31:26 +0900
committerMike Rapoport (Microsoft) <rppt@kernel.org>2026-09-24 10:57:11 +0300
commitba94f68b754985f77c3f6d3354df74952a1e0752 (patch)
treefbc4fa01a7bd1338083c866e53106e4cd68494b5 /Documentation/admin-guide
parenta10f3a08d248fcb3006f587faf42437837fd12c6 (diff)
downloadlinux-next-ba94f68b754985f77c3f6d3354df74952a1e0752.tar.gz
linux-next-ba94f68b754985f77c3f6d3354df74952a1e0752.zip
memblock: initialize the region merge end index
GCC 13 reports that end_rgn may be used uninitialized when building the memblock simulator with BUILD=32 and its default sanitizer flags. Every insertion sets end_rgn, and the nr_new check prevents merging when there were no insertions, so this is not an uninitialized read. Initialize the index to zero to avoid the warning without disabling the diagnostic. Reported-by: Mike Rapoport <rppt@kernel.org> Link: https://lore.kernel.org/r/179007180279.508753.4595268983388589280.b4-review@b4 Assisted-by: LLM Signed-off-by: Tianyi Chen <hi@tychen.cc> Link: https://patch.msgid.link/20260923023126.1910311-5-hi@tychen.cc Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions