diff options
| author | Mark Pearson <[email protected]> | 2023-04-03 01:31:20 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2023-04-03 09:36:44 +0000 |
| commit | 7065655216d4d034d71164641f3bec0b189ad6fa (patch) | |
| tree | 289a23d101a7f731aa1db00c89e088d589bf6341 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | platform/x86: think-lmi: Fix memory leaks when parsing ThinkStation WMI strings (diff) | |
| download | kernel-7065655216d4d034d71164641f3bec0b189ad6fa.tar.gz kernel-7065655216d4d034d71164641f3bec0b189ad6fa.zip | |
platform/x86: think-lmi: Clean up display of current_value on Thinkstation
On ThinkStations on retrieving the attribute value the BIOS appends the
possible values to the string.
Clean up the display in the current_value_show function so the options
part is not displayed.
Fixes: a40cd7ef22fb ("platform/x86: think-lmi: Add WMI interface support on Lenovo platforms")
Reported by Mario Limoncello <[email protected]>
Link: https://github.com/fwupd/fwupd/issues/5077#issuecomment-1488730526
Signed-off-by: Mark Pearson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Mario Limonciello <[email protected]>
Tested-by: Mirsad Goran Todorovac <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
