]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86: think-lmi: improve check if BIOS account security enabled
authorMark Pearson <mpearson-lenovo@squebb.ca>
Thu, 24 Oct 2024 19:55:21 +0000 (15:55 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 29 Oct 2024 11:54:28 +0000 (13:54 +0200)
commitb39e8ece931a4b4f64cdf9e75fffd6e82828e471
tree862a06cf513d5d72c45c0207cc608064543a4cb5
parenta7d30cb75b0b3b243f57fd8dab4992a6a40f917e
platform/x86: think-lmi: improve check if BIOS account security enabled

Improve determination of whether authentication account is enabled by
checking if either password or certificate is enabled.

Renamed valid to pwd_enabled for better readability.

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20241024195536.6992-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/think-lmi.c
drivers/platform/x86/think-lmi.h