]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitec288bd37e1925f513db40871bc46115cf7fb733
tree92ae4c361a0238ac5d117e148d6ae03a3759090d
parent3bd60464e3224820bc413c45ea2cc371edc63e9d
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