Re: [PATCH v2 22/25] arm/stm32f205 arm/stm32f405: Fix realize error API violation

2020-06-24 Thread Alistair Francis
On Wed, Jun 24, 2020 at 1:44 AM Markus Armbruster wrote: > > The Error ** argument must be NULL, &error_abort, &error_fatal, or a > pointer to a variable containing NULL. Passing an argument of the > latter kind twice without clearing it in between is wrong: if the > first call sets an error, it

[PATCH v2 22/25] arm/stm32f205 arm/stm32f405: Fix realize error API violation

2020-06-24 Thread Markus Armbruster
The Error ** argument must be NULL, &error_abort, &error_fatal, or a pointer to a variable containing NULL. Passing an argument of the latter kind twice without clearing it in between is wrong: if the first call sets an error, it no longer points to NULL for the second call. stm32f205_soc_realize