On 07/07/2026 10.40, Philippe Mathieu-Daudé wrote:
Mark the PCIBus pointer argument const when methods don't need to update the structure referenced.Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- include/hw/pci/pci.h | 10 +++++----- include/hw/pci/pci_bus.h | 10 +++++----- hw/pci-bridge/pci_expander_bridge.c | 4 ++-- hw/pci/pci.c | 18 +++++++++--------- 4 files changed, 21 insertions(+), 21 deletions(-)
Reviewed-by: Thomas Huth <[email protected]>
