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

From: "Sudip Mukherjee (Codethink)" <[email-masked]>
Date: Mon, 19 Sep 2022 14:17:09 +0100

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.

-- 
Regards
Sudip