Re: [PATCH u-boot v4 07/36] efi_loader: fix warning when linking with LTO

2021-05-24 Thread Tom Rini
On Thu, May 20, 2021 at 01:23:56PM +0200, Marek Behún wrote: > When linking with LTO, the compiler complains about type mismatch of > variables `__efi_runtime_start`, `__efi_runtime_stop`, > `__efi_runtime_rel_start` and `__efi_runtime_rel_stop`: > > include/efi_loader.h:218:21: warning: type of

[PATCH u-boot v4 07/36] efi_loader: fix warning when linking with LTO

2021-05-20 Thread Marek Behún
When linking with LTO, the compiler complains about type mismatch of variables `__efi_runtime_start`, `__efi_runtime_stop`, `__efi_runtime_rel_start` and `__efi_runtime_rel_stop`: include/efi_loader.h:218:21: warning: type of ‘__efi_runtime_start’ does not m