Re: linux-next: build warning after merge of the libata tree
From: Damien Le Moal
Date: Mon Sep 19 2022 - 04:01:50 EST
On 9/19/22 11:40, Stephen Rothwell wrote:
> Hi all,
>
> After merging the libata tree, today's linux-next build (arm
> multi_v7_defconfig) produced this warning:
>
> drivers/ata/ahci_st.c: In function 'st_ahci_probe':
> drivers/ata/ahci_st.c:147:24: warning: unused variable 'dev' [-Wunused-variable]
> 147 | struct device *dev = &pdev->dev;
> | ^~~
>
> Introduced by commit
>
> 3f74cd046fbe ("ata: libahci_platform: Parse ports-implemented property in resources getter")
>
Serge,
Can you send an incremental fix for this ? If not possible, I will do it.
--
Damien Le Moal
Western Digital Research