lkml.org 
[lkml]   [2024]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] platform/x86: lg-laptop: fix %s null argument warning
Date
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.


\
 
 \ /
  Last update: 2024-05-27 16:28    [W:0.055 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site