Re: [PATCH v6 08/11] tpm: Driver for supporting multiple emulated TPMs

From
Stefan Berger <hidden>
Date
2016-03-10 17:32:36
Also in
lkml
Reply to
Jarkko Sakkinen, 2016-03-10
On 03/10/2016 11:39 AM, Jarkko Sakkinen wrote:
+/* above flags */
+#define VTPM_FLAG_TPM2           1  /* emulator is TPM 2 */
+
+/* all supported flags */
+#define VTPM_FLAGS_ALL  (VTPM_FLAG_TPM2)
+
+#define VTPM_TPM 0xa0
+
+#define VTPM_NEW_DEV         _IOW(VTPM_TPM, 0x00, struct vtpm_new_dev)
I'd rather use VTPM_IOC_NEW_DEV.
What about the name of the structure ? vtpm_ioc_new_dev?

   Stefan
Thread (12 messages) 12 messages, 4 authors, last reply 2016-03-11
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help