Re: [PATCH v2 01/12] aspeed/hace: Initialize g_autofree pointer

2023-06-07 Thread Joel Stanley
On Wed, 7 Jun 2023 at 04:40, 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

[PATCH v2 01/12] aspeed/hace: Initialize g_autofree pointer

2023-06-06 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