Re: [PATCH 1/1] efi_loader: build warning in efi_tcg2_hash_log_extend_event

2021-05-12 Thread Ilias Apalodimas
Reviewed-by: Ilias Apalodimas On Wed, 12 May 2021 at 18:40, Heinrich Schuchardt wrote: > > Building 32bit boards with the TCG2 protocol enabled leads to a build > warning due to a missing conversion. > > lib/efi_loader/efi_tcg2.c:774:27: > error: cast to pointer from integer of

[PATCH 1/1] efi_loader: build warning in efi_tcg2_hash_log_extend_event

2021-05-12 Thread Heinrich Schuchardt
Building 32bit boards with the TCG2 protocol enabled leads to a build warning due to a missing conversion. lib/efi_loader/efi_tcg2.c:774:27: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 774 | ret = tcg2_create_digest((u8 *)data_to_hash,