Pull request for tpm-next-01072025

Ilias Apalodimas ilias.apalodimas at linaro.org
Tue Jul 1 09:27:39 CEST 2025


Some minor smatch reported issues from Andrew

The following changes since commit 490ae8ceae2d5999c9de863e014e463f5c1495a6:

  Revert the last two mach-k3 changes (2025-06-27 13:07:43 -0600)

are available in the Git repository at:

  https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/tpm-next-01072025

for you to fetch changes up to 8280d2a77ffe72727ef1c729861231b523680dfb:

  tpm: Make use of TPM2_ALG_INVAL from enum (2025-07-01 08:46:38 +0300)

The CI seems happy
https://source.denx.de/u-boot/custodians/u-boot-tpm/-/pipelines/26897

Please pull
/Ilias

----------------------------------------------------------------
Smatch picked up cases of enum functions returning integers
instead of enum values for error codes. Add an extra value to the
enum and return that instead
----------------------------------------------------------------
Andrew Goodbody (2):
      cmd: tpm: Fix attempt to return value not in enum
      tpm: Make use of TPM2_ALG_INVAL from enum

 cmd/tpm-v2.c     | 6 +++---
 include/tpm-v2.h | 2 ++
 lib/tpm-v2.c     | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)


More information about the U-Boot mailing list