Re: [PATCH v1] PCI: acpiphp_ibm: Do not use uninitialized device_class

From: Andy Shevchenko

Date: Wed Jul 08 2026 - 10:37:25 EST


On Mon, Jul 06, 2026 at 02:40:22PM +0200, Rafael J. Wysocki wrote:

> Passing an uninitialized pnp.device_class string to
> acpi_bus_generate_netlink_event() is effectively equivalent
> to passing an empty string literal to it.
>
> Accordingly, make the driver do the latter instead of doing the
> former.
>
> No intentional functional impact.
>
> This will facilitate the removal of device_class from struct
> acpi_device_pnp in the future.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

--
With Best Regards,
Andy Shevchenko