]> Git Repo - qemu.git/commit - hw/pci-bridge/i82801b11.c
pci: Make is_bridge a bool
authorDavid Gibson <[email protected]>
Mon, 13 May 2019 06:19:38 +0000 (16:19 +1000)
committerMichael S. Tsirkin <[email protected]>
Wed, 29 May 2019 22:00:57 +0000 (18:00 -0400)
commit91f4c995f26795dbb6d1b09392a6448e389ed029
treee40524157bc2b674228bf2033adb029d9e7b58ae
parent2f57db8a2781787a0a31d3a9ce4a286fc45a42b3
pci: Make is_bridge a bool

The is_bridge field in PCIDevice acts as a bool, but is declared as an int.
Declare it as a bool for clarity, and change everything that writes it to
use true/false instead of 0/1 to match.

Signed-off-by: David Gibson <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Message-Id: <20190513061939[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/pci-bridge/dec.c
hw/pci-bridge/i82801b11.c
hw/pci-bridge/pci_bridge_dev.c
hw/pci-bridge/pcie_pci_bridge.c
hw/pci-bridge/pcie_root_port.c
hw/pci-bridge/simba.c
hw/pci-bridge/xio3130_downstream.c
hw/pci-bridge/xio3130_upstream.c
include/hw/pci/pci.h
This page took 0.027879 seconds and 4 git commands to generate.