Re: [PATCH 1/1] board: gateworks: gw_ventana: fix building with GCC 12.2

2022-10-24 Thread Tom Rini
On Wed, Oct 12, 2022 at 06:59:27PM +0200, Heinrich Schuchardt wrote: > Building with GCC 12.2 results in an error > > board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison > will always evaluate as 'true' for the address of 'pwm_padmux' will > never be NULL

Re: [PATCH 1/1] board: gateworks: gw_ventana: fix building with GCC 12.2

2022-10-17 Thread Fabio Estevam
On Wed, Oct 12, 2022 at 1:59 PM Heinrich Schuchardt wrote: > > Building with GCC 12.2 results in an error > > board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison > will always evaluate as 'true' for the address of 'pwm_padmux' will > never be NULL [-Werror=address] >

Re: [PATCH 1/1] board: gateworks: gw_ventana: fix building with GCC 12.2

2022-10-17 Thread Tim Harvey
On Wed, Oct 12, 2022 at 9:59 AM Heinrich Schuchardt wrote: > > Building with GCC 12.2 results in an error > > board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison > will always evaluate as 'true' for the address of 'pwm_padmux' will > never be NULL [-Werror=address] >

[PATCH 1/1] board: gateworks: gw_ventana: fix building with GCC 12.2

2022-10-12 Thread Heinrich Schuchardt
Building with GCC 12.2 results in an error board/gateworks/gw_ventana/gw_ventana.c:636:68: error: the comparison will always evaluate as 'true' for the address of 'pwm_padmux' will never be NULL [-Werror=address] 636 | } else if (hwconfig_subarg_cmp(arg, "mode",