coreboot-kgpe-d16/payloads
Thomas Heijligen 2332d29ba9 libpayload: Fix compiler warnings
Following warnings occur when compiling with
`i386-elf-gcc (coreboot toolchain v2022-09-18_c8870b1334) 11.2.0`

drivers/serial/8250.c:75: [-Werror=unused-variable]
  Move variable declaration inside the
  `#if !CONFIG(LP_PL011_SERIAL_CONSOLE)` block

drivers/udc/dwc2.c:505: [-Werror=format=]
  use `%zd` to match type `size_t`

Change-Id: Id285c24cba790f181fa203f3117e5df35bed27c4
Signed-off-by: Thomas Heijligen <src@posteo.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69764
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2022-11-21 21:08:30 +00:00
..
coreinfo payloads,src: Replace ALIGN(x, a) by ALIGN_UP(x, a) for clarity 2022-10-13 19:14:57 +00:00
external payloads/grub: Work around entry point issue 2022-11-02 18:31:23 +00:00
libpayload libpayload: Fix compiler warnings 2022-11-21 21:08:30 +00:00
linuxcheck
nvramcui payloads/nvramcui/nvramcui.c: Reformat code 2022-05-16 02:49:50 +00:00
Kconfig payloads: Make PAYLOAD_NONE a bool outside of the choice 2022-11-04 13:44:59 +00:00
Makefile.inc payloads/tianocore: Rename TianoCore to edk2 2022-08-13 16:35:18 +00:00