From patchwork Thu Mar 11 03:37:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= X-Patchwork-Id: 12130241 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4DB79C433DB for ; Thu, 11 Mar 2021 03:39:12 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD96B64E77 for ; Thu, 11 Mar 2021 03:39:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD96B64E77 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=wiQXyDxuNxDIcjQo37zM++ERSAKvZEzlj8233sS0t7s=; b=SxfxQhG0cdNFYn/lb/Lr83fOZA oofFpEB+rtPTkyu8/Y5qrOLEGQwtm5CZpJTVeXgfOHg6rd+wd+4lGft2HZZ7uX54pEoOv8o8agjJL 6RtBKO+1tnxBg9m9wQzJrxSiWBquV/Xeh8oza9RJeCSzWrs1QBOLMYFFvQ5Xj7DEc6yHPahIQW0ux qXnHOP6O6yL68AunMUvw4P0yKbGxyYksoQEgzKeVi/flrrDfmyAsDFWZI8GPD1OdoBiRtm47HAhut nw8O9/vimYB/gxODIarc+iGZ/tY1cBlx6KJaGRBAjIY7M9MY+51+GCFgHcl3+23H65XGSDoIdiKMD KPm82wjg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKC97-008JIW-Rn; Thu, 11 Mar 2021 03:37:58 +0000 Received: from mail-qk1-f176.google.com ([209.85.222.176]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lKC92-008JI4-3m for linux-arm-kernel@lists.infradead.org; Thu, 11 Mar 2021 03:37:54 +0000 Received: by mail-qk1-f176.google.com with SMTP id s7so19326329qkg.4 for ; Wed, 10 Mar 2021 19:37:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=HoIkSwuB9kFb/7o0k8S78I/HpiyIT43O0+mWxnUnfJI=; b=WW2gU6GXVJdkekIb++UqphN4RwIitZVkOumqWjFMpn9sw40n4xaQQxZYjNDzE5oVWl UjqhANdtUQsE6/n8epbRIPmr1P1c9e+MroseriZFAUD0oVP26W8H6bb5CfreTP1gLWIj xYnrcg+kBa9W5Fiu39A9UjIhrmjCdtPcNJbaFgb2sqtpw0iTV3lqHcfpGCHgROh1NQs2 CHiQlnGqXNicuxSbbisDfChspDXpgu7cDsUDf2J7rIfmWfk110wCbYLUkvFXUqixT2H4 M8PDJT969n1hIjjprxvXhqiSY39wGHTn9Y335rHQm+Z8rlRReAz/ypFnxAjUb4byQIt9 8orQ== X-Gm-Message-State: AOAM532lO7WocBZ/8eJcOKMjZkt7f0niX2beSUbPtWRazvWHpQ64Q39a 9/J0mnPeHcP1XALT74iTYgM= X-Google-Smtp-Source: ABdhPJyKZhUdOe1LCVxqhW5iBVJS/b2WAnNvPcpQJ7B6+4Fnw8aEHmu32vFpUVzeLUQfGiIHqbOtQQ== X-Received: by 2002:a37:94b:: with SMTP id 72mr4823437qkj.94.1615433870050; Wed, 10 Mar 2021 19:37:50 -0800 (PST) Received: from workstation.lan ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id j1sm949876qti.55.2021.03.10.19.37.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Mar 2021 19:37:49 -0800 (PST) From: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= To: Bjorn Helgaas Cc: Zheng Yongjun , Minghuan Lian , Mingkai Hu , Roy Zang , Lorenzo Pieralisi , Rob Herring , linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] PCI: layerscape: Correct syntax by changing comma to semicolon Date: Thu, 11 Mar 2021 03:37:45 +0000 Message-Id: <20210311033745.1547044-1-kw@linux.com> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210311_033752_282548_52AF6978 X-CRM114-Status: GOOD ( 11.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Signed-off-by: Krzysztof Wilczyński Acked-by: Roy Zang Signed-off-by: Krzysztof Wilczyński --- drivers/pci/controller/dwc/pci-layerscape-ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;