From patchwork Thu Oct 21 06:58:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1544190 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=JdnZhIpK; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HZdcv16Lpz9sPB for ; Thu, 21 Oct 2021 17:59:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45AB883423; Thu, 21 Oct 2021 08:59:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="JdnZhIpK"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A0CA0834BA; Thu, 21 Oct 2021 08:59:03 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 46837833E3 for ; Thu, 21 Oct 2021 08:58:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x52f.google.com with SMTP id w19so1377306edd.2 for ; Wed, 20 Oct 2021 23:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S2f6U5GwIdZTVUYegEXOSNCOrS+3buhbLEB9n0Zs06o=; b=JdnZhIpKgtsLCNb3QXRc5wKOaMLb6neipnjIOusDtsyJAEm9+OIn/oEMiEatoYeRPS PNP8O1VKvOD3pWIjQlpCOIxDiImoi1k8qbQUx6zJnDBsZEliS+Lu4IV7s8HvIfSxLzQz QTa9PkcnZQcyUyBl+62p5HzQpwrJmXKQNSieNhBoEiP+mw3dZy3hHtve0a4uaFXths2W FgvNAatmRXFQ9BavRDBrAt1HDPgHytJUVM95AI4YsIoh1ffkIpMUevfBTHmyZlo/ZmMo DXmIshOgt86bsPhOf2YKDC79nJi3NIAZm3sfA1RfysnQcQBTTO/StkgH6oIupc6jPhXW CvbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=S2f6U5GwIdZTVUYegEXOSNCOrS+3buhbLEB9n0Zs06o=; b=rE7K4c0fCrYv8/fuuVc84VJJd/rxGjqGPIAj4pFjtujNEN9dOzsti9LR2EZpKF8Ljl 2KY6G729ZTEszQOXU/BJFLvg4E2TyqVZeIq1ikeMRsX9YtC/0csA/1UIcFUQjjSTiP+1 F10aNqJ3W2305+1V33alYuPWV9iQjefq4rxQ2ChmDRK21gWOqNCMVaeiDm6p1Q+rpuNV 0EFu4HqDTzXudbbeEe1zm0kIBqeI6KS0erAf2Y7qHYW4G2gt9qu9jnUfKuXcAI6IJmaL 2RM4qheOtMKFsZgW5v89kMNFBE7xoWES50F+Plu8NqxbSKmjQ9B0E8kAEQNh4MSBFU60 tf1g== X-Gm-Message-State: AOAM531aWvVuCbKPOzXDlLXaHhv0q/45b5f6MZv+JVXSdp1A0/zSXeAx PO7a1lrbw34SWWwJ1Pm278BB4GJ00uQtlQ== X-Google-Smtp-Source: ABdhPJzAAubiiLltdi2mpFqgwAkJn/sfkjxUJGRXYk1ZfrThbwSLNEc49Bqr4HYBm+YuE6PVBenlAw== X-Received: by 2002:a05:6402:35c4:: with SMTP id z4mr5293428edc.197.1634799538741; Wed, 20 Oct 2021 23:58:58 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id t6sm2326385edj.27.2021.10.20.23.58.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Oct 2021 23:58:58 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Jorge Ramirez-Ortiz , Michal Simek , Mike Looijmans , Simon Glass , T Karthik Reddy Subject: [PATCH] arm64: zynqmp: Replace comma by semicolon Date: Thu, 21 Oct 2021 08:58:50 +0200 Message-Id: X-Mailer: git-send-email 2.33.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Fix issue reported by checkpatch.pl WARNING: Possible comma where semicolon could be used #499: FILE: board/xilinx/zynqmp/zynqmp.c:499: + size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE), + reg = lmb_alloc(&lmb, size, MMU_SECTION_SIZE); Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index b24db5306ae0..b13b65182a48 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -496,7 +496,7 @@ ulong board_get_usable_ram_top(ulong total_size) lmb_init(&lmb); lmb_add(&lmb, gd->ram_base, gd->ram_size); boot_fdt_add_mem_rsv_regions(&lmb, (void *)gd->fdt_blob); - size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE), + size = ALIGN(CONFIG_SYS_MALLOC_LEN + total_size, MMU_SECTION_SIZE); reg = lmb_alloc(&lmb, size, MMU_SECTION_SIZE); if (!reg)