Mika Kuoppala writes:
> We need to zero out the builtin reg spec we are parsing into.
> Otherwise engine will be uninitialized and we segfault when trying
> to find engine and accessing reg->engine in later stage.
>
Chris combined both file and builting based
We need to zero out the builtin reg spec we are parsing into.
Otherwise engine will be uninitialized and we segfault when trying
to find engine and accessing reg->engine in later stage.
v2: use {} (Jani)
Fixes: 7f0be0e7d9be ("tools/intel_reg: Add reading and writing registers
through engine")
On Fri, 02 Feb 2018, Mika Kuoppala wrote:
> We need to zero out the builtin reg spec we are parsing into.
> Otherwise engine will be uninitialized and we segfault when trying
> to find engine and accessing reg->engine in later stage.
>
> Fixes: 7f0be0e7d9be
We need to zero out the builtin reg spec we are parsing into.
Otherwise engine will be uninitialized and we segfault when trying
to find engine and accessing reg->engine in later stage.
Fixes: 7f0be0e7d9be ("tools/intel_reg: Add reading and writing registers
through engine")
Bugzilla: