Re: linux-next: build warning after merge of the libata tree

From: Tejun Heo
Date: Tue Feb 13 2018 - 09:42:16 EST


On Tue, Feb 13, 2018 at 02:04:49PM +1100, Stephen Rothwell wrote:
> Hi Tejun,
>
> After merging the libata tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/ata/sata_rcar.c: In function 'sata_rcar_init_controller':
> drivers/ata/sata_rcar.c:821:16: warning: unused variable 'base' [-Wunused-variable]
> void __iomem *base = priv->base;
> ^~~~
>
> Introduced by commit
>
> da77d76b95a0 ("sata_rcar: Reset SATA PHY when Salvator-X board resumes")

Just applied Geert's patch to remove the warning.

Thanks.

--
tejun