]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: thinklmi: improved DMI handling
authorMark Pearson <mpearson-lenovo@squebb.ca>
Tue, 10 Jun 2025 19:28:24 +0000 (15:28 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 11 Jun 2025 08:00:16 +0000 (11:00 +0300)
commitfe6859aa646b9463379985165f602a44cf25c8ad
tree6cf7207cd0bbc565d6e84989573d8b3c2c0a90bf
parent097cd6d6c90cc90410ab03b287166838ea71d41e
platform/x86: thinklmi: improved DMI handling

Fix issues reported by kernel test robot.
 - Require DMI for think-lmi.
 - Check return from getting serial string

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506062319.F0IpDxF6-lkp@intel.com/
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250610192830.1731454-1-mpearson-lenovo@squebb.ca
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/Kconfig
drivers/platform/x86/think-lmi.c