diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2018-03-06 10:34:15 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2018-03-23 09:18:06 +0100 |
commit | 09b17f321c15879833bbe072cf28e3f0625d3fb7 (patch) | |
tree | 335c67c9e6da089c6c3e3839cf5525816333d3fe /drivers/pcmcia | |
parent | tpm: fix buffer type in tpm_transmit_cmd (diff) | |
download | linux-09b17f321c15879833bbe072cf28e3f0625d3fb7.tar.xz linux-09b17f321c15879833bbe072cf28e3f0625d3fb7.zip |
tpm_crb: use __le64 annotated variable for response buffer address
use __le64 annotated variable for response buffer address as this is
read in little endian format form the register.
This suppresses sparse warning
drivers/char/tpm/tpm_crb.c:558:18: warning: cast to restricted __le64
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions