-
由 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: NMatt Fleming <matt.fleming@intel.com> Signed-off-by: NJarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Reviewed-By: NJason Gunthorpe <jgunthorpe@obsidianresearch.com> Cc: <stable@vger.kernel.org> Fixes: 30fc8d13 ("tpm: TPM 2.0 CRB Interface") Signed-off-by: NPeter Huewe <peterhuewe@gmx.de>
49afd728