Skip to contentSkip to conversation

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

DISCUSSION Sudip Mukherjee (Codethink) 2 participants 2 messages Sep 19, 2022 – Sep 20, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Regards
Sudip
#1 lore raw

Hi Sudip

Quoted 11 lines · Sudip Mukherjee (Codethink)

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;
| ^~~

Quoted 3 lines

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/[email protected]/

-Sergey

Quoted 6 lines
Signature · 3 lines
-- 
Regards
Sudip