TPM: remove unnecessary little endian conversion
authorHon Ching \(Vicky\) Lo <honclo@linux.vnet.ibm.com>
Wed, 17 Jun 2015 22:17:09 +0000 (18:17 -0400)
committerPeter Huewe <peterhuewe@gmx.de>
Sun, 18 Oct 2015 23:09:31 +0000 (01:09 +0200)
commitd72c39114c3f36785bb71aaf9dea642e59723abc
tree3af2cbac55ee221de6ef9789ec7e6bac81f1eeeb
parent0cc698af36ff22295dce2f5e46b0cfe605789fa4
TPM: remove unnecessary little endian conversion

The base pointer for the event log is allocated in the local
kernel (in prom_instantiate_sml()), therefore it is already in
the host's endian byte order and requires no conversion.

The content of the 'basep' pointer in read_log() stores the
base address of the log. This patch ensures that it is correctly
implemented.

Signed-off-by: Hon Ching(Vicky) Lo <honclo@linux.vnet.ibm.com>
Signed-off-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
Reviewed-by: Ashley Lai <ashley@ahsleylai.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
drivers/char/tpm/tpm_of.c