diff options
| author | Krzysztof Wilczyński <[email protected]> | 2021-03-11 03:37:45 +0000 |
|---|---|---|
| committer | Lorenzo Pieralisi <[email protected]> | 2021-03-22 17:24:19 +0000 |
| commit | 1b7996a528b3f81bb8dac6d29a957db1d33546d3 (patch) | |
| tree | d39ae20c3fa68dff54c49c98c6cc40851ef3eb1b /drivers/pci/controller/dwc/pci-layerscape-ep.c | |
| parent | Linux 5.12-rc2 (diff) | |
| download | kernel-1b7996a528b3f81bb8dac6d29a957db1d33546d3.tar.gz kernel-1b7996a528b3f81bb8dac6d29a957db1d33546d3.zip | |
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]/
Co-authored-by: Zheng Yongjun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Acked-by: Roy Zang <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape-ep.c')
| -rw-r--r-- | drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-layerscape-ep.c b/drivers/pci/controller/dwc/pci-layerscape-ep.c index 39fe2ed5a6a2..39f4664bd84c 100644 --- a/drivers/pci/controller/dwc/pci-layerscape-ep.c +++ b/drivers/pci/controller/dwc/pci-layerscape-ep.c @@ -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; |
