Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 13, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi Tejun,

After merging the libata tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

Quoted 8 lines

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.

Signature · 1 line
tejun