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

Thomas Huth thuth at redhat.com
Mon Sep 18 22:30:35 AEST 2023


On 18/09/2023 14.26, Thomas Huth wrote:
> 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(-)

Ooops, please ignore. I did not notice that I was in fact operating on an 
old branch when I encountered the warnings. These should be fixed already, 
sorry for the noise!

  Thomas



More information about the SLOF mailing list