diff options
author | 2024-04-03 16:34:27 +0200 | |
---|---|---|
committer | 2024-04-08 18:32:14 +0300 | |
commit | e71c8481692582c70cdfd0996c20cdcc71e425d3 (patch) | |
tree | e64ff1eb674d51a25c2aae71da0b4f16b1b85d14 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | platform/x86: intel-vbtn: Update tablet mode switch at end of probe (diff) | |
download | wireguard-linux-e71c8481692582c70cdfd0996c20cdcc71e425d3.tar.xz wireguard-linux-e71c8481692582c70cdfd0996c20cdcc71e425d3.zip |
platform/x86: lg-laptop: fix %s null argument warning
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.
Signed-off-by: Gergo Koteles <soyer@irl.hu>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Link: https://lore.kernel.org/r/33d40e976f08f82b9227d0ecae38c787fcc0c0b2.1712154684.git.soyer@irl.hu
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions