]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: dell-smbios: only run if proper oem string is detected
authorMario Limonciello <mario.limonciello@dell.com>
Wed, 1 Nov 2017 19:25:29 +0000 (14:25 -0500)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 3 Nov 2017 23:33:58 +0000 (16:33 -0700)
commit592819fc5dc89a9e4960ed2146bd1c0c7499fb73
tree4fdb3d568a714c02f04219a00c8c89099290543b
parentb0e9513c7329c957a03594d3fc449c3638c92bb0
platform/x86: dell-smbios: only run if proper oem string is detected

The proper way to indicate that a system is a 'supported' Dell System
is by the presence of this string in OEM strings.

Allowing the driver to load on non-Dell systems will have undefined
results.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Edward O'Callaghan <quasisec@google.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/dell-smbios.c