Эх сурвалжийг харах

Merge branch 'lorenzo/pci/altera'

* lorenzo/pci/altera:
  PCI: altera: Fix bool initialization in tlp_read_packet()
Bjorn Helgaas 7 жил өмнө
parent
commit
248c51d9a7

+ 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)
 static int tlp_read_packet(struct altera_pcie *pcie, u32 *value)
 {
 {
 	int i;
 	int i;
-	bool sop = 0;
+	bool sop = false;
 	u32 ctrl;
 	u32 ctrl;
 	u32 reg0, reg1;
 	u32 reg0, reg1;
 	u32 comp_status = 1;
 	u32 comp_status = 1;