
27 Apr
2018
27 Apr
'18
3:45 p.m.
Hi Simon,
enum tpm_physical_presence { TPM_PHYSICAL_PRESENCE_HW_DISABLE = 0x0200, TPM_PHYSICAL_PRESENCE_CMD_DISABLE = 0x0100, @@ -445,7 +469,7 @@ int tpm_get_specification(void);
- @param mode TPM startup mode
- @return return code of the operation
*/ -uint32_t tpm_startup(enum tpm_startup_type mode); +int tpm_startup(enum tpm_startup_type mode);
How come the change to an int? It's fine, I just want to understand it.
Good catch, that is a mistake and has no interest. In the new version I moved all the functions to be aligned by returning an u32.
Thanks, Miquèl
--
Miquel Raynal, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com