[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f4656def-1ba5-451c-b881-e439f6aa2fd6@web.de>
Date: Mon, 18 Aug 2025 20:46:53 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Liao Yuanhong <liaoyuanhong@...o.com>, x86@...nel.org
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>, Baoquan He <bhe@...hat.com>,
Borislav Petkov <bp@...en8.de>, Brian Gerst <brgerst@...il.com>,
Coiby Xu <coxu@...hat.com>, Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
Jiri Bohac <jbohac@...e.cz>, Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] x86/crash: Remove redundant 0 value initialization
> The crash_mem struct is already zeroed by vzalloc(). It's redundant to
> initialize cmem->nr_ranges to 0.
See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc2#n94
Regards,
Markus
Powered by blists - more mailing lists