[PATCH 1/1] board: fsl: lx2160a: unused variable gic_lpi_base
Priyanka Jain (OSS)
priyanka.jain at oss.nxp.com
Tue Apr 21 12:14:04 CEST 2020
>-----Original Message-----
>From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Heinrich
>Schuchardt
>Sent: Saturday, April 11, 2020 2:27 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>
>Cc: u-boot at lists.denx.de; Ilias Apalodimas <ilias.apalodimas at linaro.org>;
>Heinrich Schuchardt <xypron.glpk at gmx.de>
>Subject: [PATCH 1/1] board: fsl: lx2160a: unused variable gic_lpi_base
>
>If the board is configured without CONFIG_GIC_V3_ITS, an error occurs:
>
>board/freescale/lx2160a/lx2160a.c: In function ‘ft_board_setup’:
>board/freescale/lx2160a/lx2160a.c:673:6: error: unused variable
>‘gic_lpi_base’ [-Werror=unused-variable]
> 673 | u64 gic_lpi_base;
> | ^~~~~~~~~~~~
>
>Let's define the variable as __maybe_unused.
>
>Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>---
Applied to fsl-qoriq. Awaiting upstream.
Thanks
Priyanka
More information about the U-Boot
mailing list