soc/intel/common/smm: Add missing printk statement
SMI trap handler was missing a printk statement, which caused Coverity to flag "data &= mask;" as a redundant operation. Change-Id: I71da74e5e08e7d7e6d61c1925db19324efd73f0a Found-by: Coverity CID 1381621 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34797 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Subrata Banik <subrata.banik@intel.com>
This commit is contained in:
parent
220ac049ba
commit
44348185d9
|
@ -108,6 +108,7 @@ void smihandler_southbridge_monitor(
|
|||
/* Trapped write data */
|
||||
data = pcr_read32(PID_PSTH, PCR_PSTH_TRPD);
|
||||
data &= mask;
|
||||
printk(BIOS_DEBUG, " iotrap read data = 0x%08x\n", data);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue