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

Reply via email to