From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by mx.groups.io with SMTP id smtpd.web11.2582.1570686155845708256 for ; Wed, 09 Oct 2019 22:42:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=mhC6dDlX; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.65, mailfrom: mw@semihalf.com) Received: by mail-lf1-f65.google.com with SMTP id r134so3362682lff.12 for ; Wed, 09 Oct 2019 22:42:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DZiQdybkxlPmEZTGXuXuu5W6Z/tqKlPCcnwhAZc4Vzc=; b=mhC6dDlXyS2aswqwi1byGsL+0LKQ2EmZdq7bZgyAncHJyKss+SBhKLFf3ggIvSmi6J hb7mTNbZ0j9llfBrAJoiSFlHh9hVapBG7uBvgB5QZV6DvFNQfAEhH65QloX/cdEPWO4D qkkRT6IsfhabhD+zjv7uOPEe/8yFhZ8P5YS01O3YpCBk4I+pGrBxeW/TipuOk0Y6mmzl 0tQlO5i9UX5RqAYEsa4OQf5MpazRC7Pd7YdL1nhbtKlOyMPkDtbvX0/AD89TjP2Fqv1R cadEmoS91wLb4A+42uOlJeXUOuF2Q+eevdqKDDdXyXkrSN1QS41Gp0Hd2lTCj9aQ7CLF YuBg== 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:in-reply-to :references; bh=DZiQdybkxlPmEZTGXuXuu5W6Z/tqKlPCcnwhAZc4Vzc=; b=tfyxb7zs4/7Vc4c1uDth62Zyt6xzrgy/kuF4GIBrtqooLavCi2F7MYKvA7r5wwqN66 b84XcAaB2VUmJYZm/0zdybeHk2/xCwM0hRo4/06pBL8pcCVOLee2pW867o14fnB27fQW IR4v+e+Y7Em3+RzGX2YAHtstwmDhLkbyzgde0bi15bYnc7YaDFjxbdY/nNWVBH7UhEMB 2xPNwXvx/PcnztJbE05owtCl9Mumu8/y9HJmdBcIdr3lVqXkyPuN3MHOZBtHtzhmnOn8 muSSasj46CuaMyr5lSRiuBLStK8ttOLASSBt10gdLEKhnXPDppE5XZkmjqAuB0HWVzTS gW9w== X-Gm-Message-State: APjAAAVCiBUgem6WTjrhMdRc6f2vhvnLFe7FQS3//B3YI+3zbsolyrNs /iltukjLlafc1gk61oIPRj8BEyl9Etopaw== X-Google-Smtp-Source: APXvYqwsjU3pAYPdl5fFLHbVHf6z9Um/KNmIgi2GGNMuTX4Avswoh7D10EqO3a1N4kKjhjD1Z9rR3g== X-Received: by 2002:a19:84c:: with SMTP id 73mr4568956lfi.180.1570686153864; Wed, 09 Oct 2019 22:42:33 -0700 (PDT) Return-Path: Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id p27sm1001481lfo.95.2019.10.09.22.42.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Oct 2019 22:42:33 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com Subject: [edk2-platforms: PATCH v3 5/9] Marvell/Library: IcuLib: Fix debug information Date: Thu, 10 Oct 2019 07:42:15 +0200 Message-Id: <1570686139-25182-6-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570686139-25182-1-git-send-email-mw@semihalf.com> References: <1570686139-25182-1-git-send-email-mw@semihalf.com> In case the number of CP11x components exceeded the maximum of currently supported, the user is informed with the information. It turned out that the print arguments were incorrect - fix it. Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Silicon/Marvell/Library/IcuLib/IcuLib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/Marvell/Library/IcuLib/IcuLib.c b/Silicon/Marvell/Library/IcuLib/IcuLib.c index 343c21b..4d9f174 100644 --- a/Silicon/Marvell/Library/IcuLib/IcuLib.c +++ b/Silicon/Marvell/Library/IcuLib/IcuLib.c @@ -280,8 +280,8 @@ ArmadaIcuInitialize ( if (CpCount > ICU_MAX_SUPPORTED_UNITS) { DEBUG ((DEBUG_ERROR, "%a: Default ICU to GIC mapping is available for maximum %d CP110 units", - ICU_MAX_SUPPORTED_UNITS, - __FUNCTION__)); + __FUNCTION__, + ICU_MAX_SUPPORTED_UNITS)); CpCount = ICU_MAX_SUPPORTED_UNITS; } -- 2.7.4