Browse Source

Merge branch 'lorenzo/pci/altera'

* lorenzo/pci/altera:
  PCI: altera: Fix bool initialization in tlp_read_packet()
Bjorn Helgaas 7 years ago
parent
commit
248c51d9a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/pci/host/pcie-altera.c

+ 1 - 1
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;