Messages in this thread | | | From | Jarkko Sakkinen <> | Subject | [PATCH 0/2] fix bad constant expressions in tpm.h | Date | Mon, 19 Sep 2016 23:22:07 +0300 |
| |
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
| |