Re: [PATCH] platform/x86: lg-laptop: fix %s null argument warning

From: Ilpo Järvinen
Date: Mon Apr 08 2024 - 11:42:45 EST


On Wed, 03 Apr 2024 16:34:27 +0200, Gergo Koteles wrote:

> W=1 warns about null argument to kprintf:
> warning: ‘%s’ directive argument is null [-Wformat-overflow=]
> pr_info("product: %s year: %d\n", product, year);
>
> Use "unknown" instead of NULL.
>
>
> [...]


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

The list of commits applied:
[1/1] platform/x86: lg-laptop: fix %s null argument warning
commit: e71c8481692582c70cdfd0996c20cdcc71e425d3

--
i.