Re: [RFC PATCH] hw/core: ensure kernel_end never gets used undefined

2024-07-05 Thread Aleksandar Rikalo
On Thu, Jul 4, 2024 at 2:49 PM Alex Bennée wrote: > > Really the problem here is the return values of fit_load_[kernel|fdt]() are a > little all over the place. However we don't want to somehow get > through not having set kernel_end and having it just be random unused > data. > > The compiler

[RFC PATCH] hw/core: ensure kernel_end never gets used undefined

2024-07-04 Thread Alex Bennée
Really the problem here is the return values of fit_load_[kernel|fdt]() are a little all over the place. However we don't want to somehow get through not having set kernel_end and having it just be random unused data. The compiler complained on an --enable-gcov build: In file included from