tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] fix bad constant expressions in tpm.h
@ 2016-09-19 20:22 Jarkko Sakkinen
       [not found] ` <1474316530-17315-1-git-send-email-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Jarkko Sakkinen @ 2016-09-19 20:22 UTC (permalink / raw)
  To: Peter Huewe
  Cc: Jarkko Sakkinen, Jason Gunthorpe, open list,
	moderated list:TPM DEVICE DRIVER

Even though the cpu_to_be32() is open coded it is not a good convention
to call it in the enum definitions. This will also sparse errors about
invalid constant expressions.

Ed Swierk (1):
  tpm: Clean up reading of timeout and duration capabilities

Jarkko Sakkinen (1):
  tpm: fix bad constant expressions

 drivers/char/tpm/tpm-interface.c | 78 +++++++++++++---------------------------
 drivers/char/tpm/tpm-sysfs.c     |  4 +--
 drivers/char/tpm/tpm.h           | 23 ++++++------
 3 files changed, 38 insertions(+), 67 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-10-21 20:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 20:22 [PATCH 0/2] fix bad constant expressions in tpm.h Jarkko Sakkinen
     [not found] ` <1474316530-17315-1-git-send-email-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-09-19 20:22   ` [PATCH 1/2] tpm: Clean up reading of timeout and duration capabilities Jarkko Sakkinen
2016-09-19 23:24     ` Jason Gunthorpe
2016-10-21 20:33       ` Jarkko Sakkinen
2016-10-21 20:35         ` Jarkko Sakkinen
2016-09-19 20:22   ` [PATCH 2/2] tpm: fix bad constant expressions Jarkko Sakkinen
     [not found]     ` <1474316530-17315-3-git-send-email-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-09-20  7:08       ` Winkler, Tomas
2016-09-20  9:56         ` [tpmdd-devel] " Jarkko Sakkinen
2016-09-20  9:57           ` Winkler, Tomas
2016-09-20 12:03             ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).