Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
No build reason found for SLE-Module-Desktop-Applications:ppc64le
openSUSE:Slowroll:Build:2
bbswitch
fix-deprecated-acpi_bus_get_device-in-5.18.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-deprecated-acpi_bus_get_device-in-5.18.patch of Package bbswitch
From: Simone Pilia <pilia.simone96@gmail.com> Subject: Replace deprecated acpi_bus_get_device with acpi_fetch_acpi_dev to build in 5.18 --- a/bbswitch.c +++ b/bbswitch.c @@ -262,10 +262,9 @@ pci_disable_device(dis_dev); do { struct acpi_device *ad = NULL; - int r; - r = acpi_bus_get_device(dis_handle, &ad); - if (r || !ad) { + ad = acpi_fetch_acpi_dev(dis_handle); + if (!ad) { pr_warn("Cannot get ACPI device for PCI device\n"); break; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor