Re: [PATCH] aspeed/hace: Initialize g_autofree pointer

2023-04-25 Thread Thomas Huth
On 21/04/2023 15.15, Cédric Le Goater wrote: As mentioned in docs/devel/style.rst "Automatic memory deallocation": * Variables declared with g_auto* MUST always be initialized, otherwise the cleanup function will use uninitialized stack memory This avoids QEMU to coredump when running the "h

Re: [PATCH] aspeed/hace: Initialize g_autofree pointer

2023-04-21 Thread Alex Bennée
Cédric Le Goater writes: > As mentioned in docs/devel/style.rst "Automatic memory deallocation": > > * Variables declared with g_auto* MUST always be initialized, > otherwise the cleanup function will use uninitialized stack memory > > This avoids QEMU to coredump when running the "hash test"

Re: [PATCH] aspeed/hace: Initialize g_autofree pointer

2023-04-21 Thread Cédric Le Goater
On 4/21/23 15:15, Cédric Le Goater wrote: As mentioned in docs/devel/style.rst "Automatic memory deallocation": * Variables declared with g_auto* MUST always be initialized, otherwise the cleanup function will use uninitialized stack memory This avoids QEMU to coredump when running the "hash

[PATCH] aspeed/hace: Initialize g_autofree pointer

2023-04-21 Thread Cédric Le Goater
As mentioned in docs/devel/style.rst "Automatic memory deallocation": * Variables declared with g_auto* MUST always be initialized, otherwise the cleanup function will use uninitialized stack memory This avoids QEMU to coredump when running the "hash test" command under Zephyr. Cc: Steven Lee