[SLOF] [PATCH 0/2] Silence compiler warnings in tpm code

Thomas Huth thuth at redhat.com
Mon Sep 18 22:26:57 AEST 2023


GCC v13 emits some new compiler warnings when compiling SLOF.
Here are two patches to get them silenced again.

Thomas Huth (2):
  lib/libtpm: Silence compiler warnings about bad zero-length array
    access
  lib/libtpm: Silence compiler warning about unaligned pointer value

 lib/libtpm/tcgbios_int.h | 2 +-
 lib/libtpm/tpm_drivers.c | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.41.0



More information about the SLOF mailing list