Re: [PATCH v7 01/17] PCI/DPC: Initialize aer_err_info before using it

2025-05-21 Thread Bjorn Helgaas
On Wed, May 21, 2025 at 09:52:18AM +0100, Jonathan Cameron wrote: > On Tue, 20 May 2025 16:50:18 -0500 > Bjorn Helgaas wrote: > > > From: Bjorn Helgaas > > > > Previously the struct aer_err_info "info" was allocated on the stack > > without being initialized, so it contained junk except for the

Re: [PATCH v7 01/17] PCI/DPC: Initialize aer_err_info before using it

2025-05-21 Thread Ilpo Järvinen
On Tue, 20 May 2025, Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Previously the struct aer_err_info "info" was allocated on the stack > without being initialized, so it contained junk except for the fields we > explicitly set later. > > Initialize "info" at declaration so it starts as all ze

Re: [PATCH v7 01/17] PCI/DPC: Initialize aer_err_info before using it

2025-05-21 Thread Jonathan Cameron
On Tue, 20 May 2025 16:50:18 -0500 Bjorn Helgaas wrote: > From: Bjorn Helgaas > > Previously the struct aer_err_info "info" was allocated on the stack > without being initialized, so it contained junk except for the fields we > explicitly set later. > > Initialize "info" at declaration so it s

[PATCH v7 01/17] PCI/DPC: Initialize aer_err_info before using it

2025-05-20 Thread Bjorn Helgaas
From: Bjorn Helgaas Previously the struct aer_err_info "info" was allocated on the stack without being initialized, so it contained junk except for the fields we explicitly set later. Initialize "info" at declaration so it starts as all zeros. Signed-off-by: Bjorn Helgaas Tested-by: Krzysztof