Re: [PATCH 1/1] platform/x86/amd/pmc: Avoid logging "(null)" for DMI values

From: Ilpo Järvinen

Date: Fri Jul 03 2026 - 09:51:53 EST


On Sat, 27 Jun 2026 00:02:10 +0200, Daniel Gibson wrote:

> dmi_get_system_info(...) can return NULL. Using that as %s arguments
> of dev_info() would log "(null)" (as part of a message like
> '... System Vendor: "(null)", Product Name: "(null)" ...'), which may
> be confusing for users.
>
> Use Elvis operator to print "(Unknown)" instead.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86/amd/pmc: Avoid logging "(null)" for DMI values
commit: a0738abd042f7406edd2175a819cf2e66388ed97

--
i.