summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2018-04-04 13:28:42 -0500
committerBjorn Helgaas <helgaas@kernel.org>2018-04-04 13:28:42 -0500
commit248c51d9a739478b3cfb24fd931187bf1f46fb71 (patch)
tree493d44afc9941abfda03ac13bdf565d1793f6743 /drivers/pci
parentc8afd5ef001b85034c31025686d3b7419103d729 (diff)
parentdb89ed14a2f2fcaa157a57fe3dd32cdb48459e2b (diff)
Merge branch 'lorenzo/pci/altera'
* lorenzo/pci/altera: PCI: altera: Fix bool initialization in tlp_read_packet()
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-altera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c
index 2235f4760951..a6af62e0256d 100644
--- a/drivers/pci/host/pcie-altera.c
+++ b/drivers/pci/host/pcie-altera.c
@@ -145,7 +145,7 @@ static bool altera_pcie_valid_device(struct altera_pcie *pcie,
static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)
{
int i;
- bool sop = 0;
+ bool sop = false;
u32 ctrl;
u32 reg0, reg1;
u32 comp_status = 1;