On Fri, Apr 26, 2019 at 5:20 PM Thierry Reding wrote:
>
> On Fri, Apr 26, 2019 at 04:56:03PM +0200, Arnd Bergmann wrote:
> > clang warns about an unused variable when CONFIG_PM is disabled,
> > since it is only referenced from an #ifdef:
> >
> > drivers/amba/tegra-ahb.c:97:18: error: variable 'teg
On Fri, Apr 26, 2019 at 04:56:03PM +0200, Arnd Bergmann wrote:
> clang warns about an unused variable when CONFIG_PM is disabled,
> since it is only referenced from an #ifdef:
>
> drivers/amba/tegra-ahb.c:97:18: error: variable 'tegra_ahb_gizmo' is not
> needed and will not be emitted [-Werror,-W
clang warns about an unused variable when CONFIG_PM is disabled,
since it is only referenced from an #ifdef:
drivers/amba/tegra-ahb.c:97:18: error: variable 'tegra_ahb_gizmo' is not needed
and will not be emitted [-Werror,-Wunneeded-internal-declaration]
Rather than trying to get the #ifdef righ
3 matches
Mail list logo