PCI: layerscape: Correct syntax by changing comma to semicolon
PATCH 1/1 PCI: layerscape: Correct syntax by changing comma to semicolon
Replace command with a semicolon to correct syntax and to prevent potential unspecified behaviour and/or unintended side effects.
Related:
https://lore.kernel.org/linux-pci/[email protected]/
--- drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/dwc/pci-layerscape-ep.c +1 -1
@@ -154,7 +154,7 @@ static int __init ls_pcie_ep_probe(struct platform_device *pdev) pci->dev = dev; pci->ops = pcie->drvdata->dw_pcie_ops; - ls_epc->bar_fixed_64bit = (1 <<BAR_2 ) | (1 <<BAR_4 ), + ls_epc->bar_fixed_64bit = (1 <<BAR_2 ) | (1 <<BAR_4 ); pcie->pci = pci; pcie->ls_epc = ls_epc;
Signature · 1 line
2.30.1
Roy
-----Original Message-----
From: Krzysztof Wilczyński <[email protected]>
Sent: Wednesday, March 10, 2021 9:38 PM
Replace command with a semicolon to correct syntax and to prevent potential unspecified behaviour and/or unintended side effects.
--- drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pci/controller/dwc/pci-layerscape-ep.c +1 -1
@@ -154,7 +154,7 @@ static int __init ls_pcie_ep_probe(struct platform_device *pdev) pci->dev = dev; pci->ops = pcie->drvdata->dw_pcie_ops; - ls_epc->bar_fixed_64bit = (1 <<BAR_2 ) | (1 <<BAR_4 ), + ls_epc->bar_fixed_64bit = (1 <<BAR_2 ) | (1 <<BAR_4 ); pcie->pci = pci; pcie->ls_epc = ls_epc;
--
2.30.1
Lorenzo Pieralisi
AppliedQuoted 5 lines · Krzysztof Wilczyński
Replace command with a semicolon to correct syntax and to prevent potential unspecified behaviour and/or unintended side effects.
Related:
https://lore.kernel.org/linux-pci/[email protected]/
Applied to pci/layerscape, thanks!
[1/1] PCI: layerscape: Correct syntax by changing comma to semicolon
https://git.kernel.org/lpieralisi/pci/c/1b7996a528
Thanks,
Lorenzo