summaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_si_intf.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2011-03-30 12:13:26 -0400
committerRajiv Andrade <srajiv@linux.vnet.ibm.com>2011-07-12 18:53:07 -0300
commit829bf0675272d24ba0056f5f79e09544464f0c8d (patch)
tree7829db8e0f7ebff6596c0e0f2dd99aa82fa3de33 /drivers/char/ipmi/ipmi_si_intf.c
parent04ab2293bbd36fc04060da93058cef7789414585 (diff)
downloadtalos-obmc-linux-829bf0675272d24ba0056f5f79e09544464f0c8d.tar.gz
talos-obmc-linux-829bf0675272d24ba0056f5f79e09544464f0c8d.zip
tpm: Use interface timeouts returned from the TPM
The TPM driver currently discards the interface timeout values returned from the TPM. The check of the response packet needs to consider that the return_code field is 0 on success and the size of the expected packet is equivalent to the header size + u32 length indicator for the TPM_GetCapability() result + 4 interface timeout indicators of type u32. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'drivers/char/ipmi/ipmi_si_intf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud