Messages in this thread Patch in this message | | | From | Jerry Hoemann <> | Subject | [PATCH 2/3] watchdog: hpwdt: SMBIOS check | Date | Fri, 20 Oct 2017 16:54:49 -0600 |
| |
Correct test on SMBIOS table 219 Misc Features bits for UEFI supported.
Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> --- drivers/watchdog/hpwdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index ef54b03..4c011e8 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -707,7 +707,7 @@ static void dmi_find_icru(const struct dmi_header *dm, void *dummy) smbios_proliant_ptr = (struct smbios_proliant_info *) dm; if (smbios_proliant_ptr->misc_features & 0x01) is_icru = 1; - if (smbios_proliant_ptr->misc_features & 0x408) + if (smbios_proliant_ptr->misc_features & 0x1400) is_uefi = 1; } } -- 1.8.3.1
| |