Revision a40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 authored by Ben Hutchings on 08 March 2013, 20:43:32 UTC, committed by Linus Torvalds on 08 March 2013, 23:05:34 UTC
Commit 9f9c9cbb6057 ("drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists") hoisted the check for "_DMI_" into dmi_scan_machine(), which means that we don't bother to check for "_DMI_" at offset 16 in an SMBIOS entry. smbios_present() may also call dmi_present() for an address where we found "_SM_", if it failed further validation. Check for "_DMI_" in smbios_present() before calling dmi_present(). [akpm@linux-foundation.org: fix build] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Reported-by: Tim McGrath <tmhikaru@gmail.com> Tested-by: Tim Mcgrath <tmhikaru@gmail.com> Cc: Zhenzhong Duan <zhenzhong.duan@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent dc893e1
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 4.8 KB |
Makefile | -rw-r--r-- | 392 bytes |
TODO | -rw-r--r-- | 772 bytes |
af_ax25.c | -rw-r--r-- | 43.8 KB |
ax25_addr.c | -rw-r--r-- | 6.0 KB |
ax25_dev.c | -rw-r--r-- | 4.7 KB |
ax25_ds_in.c | -rw-r--r-- | 7.1 KB |
ax25_ds_subr.c | -rw-r--r-- | 5.0 KB |
ax25_ds_timer.c | -rw-r--r-- | 5.8 KB |
ax25_iface.c | -rw-r--r-- | 4.9 KB |
ax25_in.c | -rw-r--r-- | 10.5 KB |
ax25_ip.c | -rw-r--r-- | 5.3 KB |
ax25_out.c | -rw-r--r-- | 8.9 KB |
ax25_route.c | -rw-r--r-- | 11.2 KB |
ax25_std_in.c | -rw-r--r-- | 11.1 KB |
ax25_std_subr.c | -rw-r--r-- | 2.3 KB |
ax25_std_timer.c | -rw-r--r-- | 4.2 KB |
ax25_subr.c | -rw-r--r-- | 6.9 KB |
ax25_timer.c | -rw-r--r-- | 5.1 KB |
ax25_uid.c | -rw-r--r-- | 4.8 KB |
sysctl_net_ax25.c | -rw-r--r-- | 4.5 KB |
Computing file changes ...