diff options
| author | Tom Rini <[email protected]> | 2025-07-01 07:41:40 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-01 07:41:40 -0600 |
| commit | cff294c74cefa2ce01cac1dd8173b61a6731642a (patch) | |
| tree | 639e42a2e297feb7cd0542ad54c22c0ae85a922b /include | |
| parent | 6c654d4b89a419469293466344553c52c2f9a736 (diff) | |
| parent | 8280d2a77ffe72727ef1c729861231b523680dfb (diff) | |
Merge tag 'tpm-next-01072025' of https://source.denx.de/u-boot/custodians/u-boot-tpm into next
CI: https://source.denx.de/u-boot/custodians/u-boot-tpm/-/pipelines/26897
Updates from Andrew fixing issues reported by smatch. It picked up
cases of enum functions returning integers instead of enum values.
Diffstat (limited to 'include')
| -rw-r--r-- | include/tpm-v2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tpm-v2.h b/include/tpm-v2.h index ece422df0c7..f3eb2ef5643 100644 --- a/include/tpm-v2.h +++ b/include/tpm-v2.h @@ -20,6 +20,7 @@ #define __TPM_V2_H #include <tpm-common.h> +#include <linux/errno.h> struct udevice; @@ -266,6 +267,7 @@ enum tpm2_return_codes { * TPM2 algorithms. */ enum tpm2_algorithms { + TPM2_ALG_INVAL = -EINVAL, TPM2_ALG_SHA1 = 0x04, TPM2_ALG_XOR = 0x0A, TPM2_ALG_SHA256 = 0x0B, |
