Re: [tpmdd-devel] [PATCH 5/5 v2] tpm: Make tpm-dev allocate a per-file structure

2013-11-16 Thread Ashley Lai
On Sun, 2013-11-03 at 20:38 -0700, Jason Gunthorpe wrote: > This consolidates everything that is only used within tpm-dev.c > into tpm-dev.c and out of the publicly visible struct tpm_chip. > > The per-file allocation lays the ground work for someday fixing the > strange forced O_EXCL behaviour of

[PATCH 5/5 v2] tpm: Make tpm-dev allocate a per-file structure

2013-11-03 Thread Jason Gunthorpe
This consolidates everything that is only used within tpm-dev.c into tpm-dev.c and out of the publicly visible struct tpm_chip. The per-file allocation lays the ground work for someday fixing the strange forced O_EXCL behaviour of the current code. Signed-off-by: Jason Gunthorpe Reviewed-by: Joe