Enable and fix WError in add-ons/kernel/busses/
Change-Id: I94e1580444faffdfc362dc8f59c39152d67a7076 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5235 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
This commit is contained in:
parent
ad398477d6
commit
1da90c98f2
@ -665,14 +665,7 @@ rule ArchitectureSetupWarnings architecture
|
||||
EnableWerror src add-ons input_server ;
|
||||
EnableWerror src add-ons kernel bluetooth ;
|
||||
EnableWerror src add-ons kernel bus_managers ;
|
||||
EnableWerror src add-ons kernel busses agp_gart ;
|
||||
EnableWerror src add-ons kernel busses ata ;
|
||||
# EnableWerror src add-ons kernel busses i2c ;
|
||||
# EnableWerror src add-ons kernel busses mmc ;
|
||||
# EnableWerror src add-ons kernel busses random ;
|
||||
EnableWerror src add-ons kernel busses scsi ;
|
||||
EnableWerror src add-ons kernel busses usb ;
|
||||
# EnableWerror src add-ons kernel busses virtio ;
|
||||
EnableWerror src add-ons kernel busses ;
|
||||
EnableWerror src add-ons kernel console ;
|
||||
EnableWerror src add-ons kernel cpu ;
|
||||
EnableWerror src add-ons kernel debugger ;
|
||||
|
@ -345,7 +345,6 @@ pch_i2c_scan_bus_callback(acpi_handle object, uint32 nestingLevel,
|
||||
return status;
|
||||
}
|
||||
|
||||
device_node* deviceNode;
|
||||
status = gI2c->register_device(bus->sim, crs.i2c_addr, hid, cidList,
|
||||
object);
|
||||
free(hid);
|
||||
|
@ -389,11 +389,13 @@ supports_device(device_node* parent)
|
||||
pci_device* device;
|
||||
gDeviceManager->get_driver(parent, (driver_module_info**)&pci,
|
||||
(void**)&device);
|
||||
#ifdef TRACE_PCH_I2C
|
||||
uint8 pciSubDeviceId = pci->read_pci_config(device, PCI_revision,
|
||||
1);
|
||||
|
||||
TRACE("PCH I2C device found! vendor 0x%04x, device 0x%04x\n", vendorID,
|
||||
deviceID);
|
||||
TRACE("PCH I2C device found! vendor 0x%04x, device 0x%04x, subdevice 0x%02x\n", vendorID,
|
||||
deviceID, pciSubDeviceId);
|
||||
#endif
|
||||
return 0.8f;
|
||||
}
|
||||
|
||||
|
@ -210,7 +210,7 @@ class Capabilities
|
||||
static const uint8_t k1v8 = 4;
|
||||
|
||||
private:
|
||||
const uint64_t fBits;
|
||||
uint64_t fBits;
|
||||
} __attribute__((packed));
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user