diff options
author | Harald Hoyer <harald@redhat.com> | 2016-02-06 15:44:42 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2016-02-20 09:59:32 +0200 |
commit | 186d124f07da193a8f47e491af85cb695d415f2f (patch) | |
tree | fe9b839fea13a088fd2b5dc8a39f94bdc732c9a4 /drivers/scsi/ncr53c8xx.h | |
parent | 4f3b193dee4423d8c89c9a3e8e05f9197ea459a4 (diff) | |
download | blackbird-op-linux-186d124f07da193a8f47e491af85cb695d415f2f.tar.gz blackbird-op-linux-186d124f07da193a8f47e491af85cb695d415f2f.zip |
tpm_eventlog.c: fix binary_bios_measurements
The commit 0cc698af36ff ("vTPM: support little endian guests") copied
the event, but without the event data, did an endian conversion on the
size and tried to output the event data from the copied version, which
has only have one byte of the data, resulting in garbage event data.
[jarkko.sakkinen@linux.intel.com: fixed minor coding style issues and
renamed the local variable tempPtr as temp_ptr now that there is an
excuse to do this.]
Signed-off-by: Harald Hoyer <harald@redhat.com>
Fixes: 0cc698af36ff ("vTPM: support little endian guests")
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/scsi/ncr53c8xx.h')
0 files changed, 0 insertions, 0 deletions