Re: [PATCH v6 07/16] PCI/AER: Initialize aer_err_info before using it

2025-05-20 Thread Bjorn Helgaas
On Tue, May 20, 2025 at 01:39:06PM +0300, Ilpo Järvinen wrote: > On Mon, 19 May 2025, Bjorn Helgaas wrote: > > > From: Bjorn Helgaas > > > > Previously the struct aer_err_info "e_info" was allocated on the stack > > without being initialized, so it contained junk except for the fields we > > exp

Re: [PATCH v6 07/16] PCI/AER: Initialize aer_err_info before using it

2025-05-20 Thread Ilpo Järvinen
On Mon, 19 May 2025, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Previously the struct aer_err_info "e_info" was allocated on the stack > without being initialized, so it contained junk except for the fields we > explicitly set later. > > Initialize "e_info" at declaration with a designated

Re: [PATCH v6 07/16] PCI/AER: Initialize aer_err_info before using it

2025-05-19 Thread Sathyanarayanan Kuppuswamy
On 5/19/25 2:35 PM, Bjorn Helgaas wrote: From: Bjorn Helgaas Previously the struct aer_err_info "e_info" was allocated on the stack without being initialized, so it contained junk except for the fields we explicitly set later. Initialize "e_info" at declaration with a designated initializer