x86/smm/smihandler.c: break case in switch
The case doesn't look like a deliberate fall-through, since the next case (SNB/IVB/HSW) is more specific than the one before it, so break out. Change-Id: I55497aefe9e835842a82121270f2b2a9952f560d Found-by: Coverity Scan Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/6571 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
e3cdbbeb8e
commit
20e2f3c6e4
|
@ -163,6 +163,7 @@ void smi_handler(u32 smm_revision)
|
||||||
state_save.type = EM64T;
|
state_save.type = EM64T;
|
||||||
state_save.em64t_state_save =
|
state_save.em64t_state_save =
|
||||||
smm_save_state(smm_base, 0x7d00, node);
|
smm_save_state(smm_base, 0x7d00, node);
|
||||||
|
break;
|
||||||
case 0x00030101: /* SandyBridge, IvyBridge, and Haswell */
|
case 0x00030101: /* SandyBridge, IvyBridge, and Haswell */
|
||||||
state_save.type = EM64T101;
|
state_save.type = EM64T101;
|
||||||
state_save.em64t101_state_save =
|
state_save.em64t101_state_save =
|
||||||
|
|
Loading…
Reference in New Issue