From 9787502b169db9f03f962fbedcd0f80246e063a7 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Sun, 1 Mar 2026 22:24:04 -0500 Subject: [PATCH] tpm2: Add fallthrough annotation to end of case statement (Coverity) Add a fallthrough annotation to suppress a Coverity complaint. Signed-off-by: Stefan Berger --- src/tpm2/TPMCmd/tpm/src/command/NVStorage/NV_spt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tpm2/TPMCmd/tpm/src/command/NVStorage/NV_spt.c b/src/tpm2/TPMCmd/tpm/src/command/NVStorage/NV_spt.c index 63629601..fd0ea4cf 100644 --- a/src/tpm2/TPMCmd/tpm/src/command/NVStorage/NV_spt.c +++ b/src/tpm2/TPMCmd/tpm/src/command/NVStorage/NV_spt.c @@ -443,6 +443,7 @@ TPM_RC NvDefineSpace(TPMI_RH_PROVISION authHandle, // It is not allowed to create a PIN Index that can't be modified. if(!IS_ATTRIBUTE(attributes, TPMA_NV, NO_DA)) return TPM_RCS_ATTRIBUTES + blamePublic; + /* fallthrough */ #endif #ifdef TPM_NT_PIN_PASS case TPM_NT_PIN_PASS: