Re: build failure of next-20220919 due to 3f74cd046fbe ("ata: libahci_platform: Parse ports-implemented property in resources getter")

From: Serge Semin
Date: Tue Sep 20 2022 - 15:29:22 EST


Hi Sudip

On Mon, Sep 19, 2022 at 02:17:09PM +0100, Sudip Mukherjee (Codethink) wrote:
> Hi All,
>
> The builds of arm allmodconfig have failed to build next-20220919
> with the error:
>
> drivers/ata/ahci_st.c: In function 'st_ahci_probe':
> drivers/ata/ahci_st.c:147:24: error: unused variable 'dev' [-Werror=unused-variable]
> 147 | struct device *dev = &pdev->dev;
> | ^~~
>
>
> git bisect pointed to 3f74cd046fbe ("ata: libahci_platform: Parse ports-implemented property in resources getter")
>
> I will be happy to test any patch or provide any extra log if needed.

Thanks for submitting the report. The fix has been already provided by
Damien:
https://lore.kernel.org/all/6f9b5fd7-8a8a-619e-f758-216cadd8ea08@xxxxxxxxxxxxxxxxxx/

-Sergey

>
>
> --
> Regards
> Sudip
>