]> git.baikalelectronics.ru Git - kernel.git/commitdiff
PCI: layerscape: Correct syntax by changing comma to semicolon
authorKrzysztof Wilczyński <kw@linux.com>
Thu, 11 Mar 2021 03:37:45 +0000 (03:37 +0000)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 22 Mar 2021 17:24:19 +0000 (17:24 +0000)
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/20201216131944.14990-1-zhengyongjun3@huawei.com/

Co-authored-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20210311033745.1547044-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Roy Zang <roy.zang@nxp.com>
drivers/pci/controller/dwc/pci-layerscape-ep.c

index 39fe2ed5a6a2084de2a262d8a2331102897760ff..39f4664bd84c7c8241fef799740b07ada75b96c9 100644 (file)
@@ -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;