commit | b9e3238aa36db33aa0d0bd44ef85297c45627aac | [log] [tgz] |
---|---|---|
author | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | Tue Nov 01 17:00:52 2011 -0200 |
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | Wed Nov 16 09:57:11 2011 -0200 |
tree | 5c9d90539b5730df66d8dfa26f025b2be898a006 | |
parent | 2f592f2a7d74c66763a6903edd04109132674d73 [diff] |
TPM: fix transmit_cmd error logic It's incorrect to assume that buffers returned by the TPM 10 bytes long are always error reports. This patches parses the error field in its header instead. The error report is now being printed using dev_err() instead of dev_dbg(), making it easier for users to provide more detailed bug reports. Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>