Re: [PATCH] tpm, tpm_crb: fix le64_to_cpu conversions in crb_acpi_add()

2015-06-09 Thread Jarkko Sakkinen
On Tue, Jun 09, 2015 at 10:22:40AM -0600, Jason Gunthorpe wrote: > On Tue, Jun 09, 2015 at 02:36:49PM +0300, Jarkko Sakkinen wrote: > > Needs a commit message, bug description, Fixes: header and does it go > to -stable ? > > > Reported-by: Matt Fleming > > Signed-off-by: Jarkko Sakkinen > > dr

Re: [PATCH] tpm, tpm_crb: fix le64_to_cpu conversions in crb_acpi_add()

2015-06-09 Thread Jason Gunthorpe
On Tue, Jun 09, 2015 at 02:36:49PM +0300, Jarkko Sakkinen wrote: Needs a commit message, bug description, Fixes: header and does it go to -stable ? > Reported-by: Matt Fleming > Signed-off-by: Jarkko Sakkinen > drivers/char/tpm/tpm_crb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions

[PATCH] tpm, tpm_crb: fix le64_to_cpu conversions in crb_acpi_add()

2015-06-09 Thread Jarkko Sakkinen
le64_to_cpu() was applied twice to the physical addresses read from the control area. This hasn't shown any visible regressions because CRB driver has been tested only on the little endian platofrms so far. Reported-by: Matt Fleming Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c

[PATCH] tpm, tpm_crb: fix le64_to_cpu conversions in crb_acpi_add()

2015-06-09 Thread Jarkko Sakkinen
Reported-by: Matt Fleming Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_crb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c index b26ceee..44f9d20 100644 --- a/drivers/char/tpm/tpm_crb.c +++ b/drivers/cha