]> git.baikalelectronics.ru Git - kernel.git/commit
tpm: increase size of internal TPM response buffers
authorMarcin Obara <marcin_obara@users.sourceforge.net>
Sat, 26 Jul 2008 02:44:59 +0000 (19:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:04 +0000 (12:00 -0700)
commit9a537510dab17e91f9c8b4e2e78c34da97d2d829
tree92ae4c361a0238ac5d117e148d6ae03a3759090d
parent7f3b009a9c646da2f2488e56da2465598131a93b
tpm: increase size of internal TPM response buffers

This patch increases size of driver internal response buffers.  Some TPM
responses defined in TCG TPM Specification Version 1.2 Revision 103 have
increased size and do not fit previously defined buffers.  Some TPM
responses do not have fixed size, so bigger response buffers have to be
allocated.  200B buffers should be enough.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Marcin Obara <marcin_obara@users.sourceforge.net>
Cc: Marcel Selhorst <tpm@selhorst.net>
Cc: Kylene Jo Hall <kjhall@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm.c