[PATCH v7 09/17] PCI/AER: Simplify pci_print_aer()

Jonathan Cameron Jonathan.Cameron at huawei.com
Wed May 21 19:27:04 AEST 2025


On Tue, 20 May 2025 16:50:26 -0500
Bjorn Helgaas <helgaas at kernel.org> wrote:

> From: Bjorn Helgaas <bhelgaas at google.com>
> 
> Simplify pci_print_aer() by initializing the struct aer_err_info "info"
> with a designated initializer list (it was previously initialized with
> memset()) and using pci_name().
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas at google.com>
> Tested-by: Krzysztof Wilczyński <kwilczynski at kernel.org>
> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
Another nice cleanup.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>


More information about the Linuxppc-dev mailing list