Re: [PATCH v2 2/2] TPM: remove unnecessary little endian conversion

2015-06-16 Thread Ashley Lai
Looks good. Reviewed-by: Ashley Lai Thanks, --Ashley On Tue, 9 Jun 2015, Hon Ching(Vicky) Lo wrote: 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

Re: [PATCH v2 2/2] TPM: remove unnecessary little endian conversion

2015-06-16 Thread Ashley Lai
Looks good. Reviewed-by: Ashley Lai ash...@ahsleylai.com Thanks, --Ashley On Tue, 9 Jun 2015, Hon Ching(Vicky) Lo wrote: 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

[PATCH v2 2/2] TPM: remove unnecessary little endian conversion

2015-06-09 Thread Hon Ching(Vicky) Lo
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

[PATCH v2 2/2] TPM: remove unnecessary little endian conversion

2015-06-09 Thread Hon Ching(Vicky) Lo
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