From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=JpuSxorP; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.167.67, mailfrom: mw@semihalf.com) Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) by groups.io with SMTP; Wed, 07 Aug 2019 16:31:00 -0700 Received: by mail-lf1-f67.google.com with SMTP id j17so11308184lfp.3 for ; Wed, 07 Aug 2019 16:30:59 -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=Z0Tvfje+W9yLNBn97ynjbkbA7pY0WdgHG3wHcIN+/rs=; b=JpuSxorPHqdMQtWyvhjcr9bAajiJI2ZGfMfnOT6pw86xtaRu061IY6+1Oy9skoVVyk +pX4AOllo8FdxjNQILEX1/cH2e5nuGY3UDw4xCIA6cpKbC5NGA1ilRVT04JbceDDT6sd ioZNZd5kz7gZF3pq20hgkgpZvGiYgu/7BirvjoqrlvHxa3fePnUoyD8u6wBjetwf8BZE El7AQQvwOGUKfK34s9JQDoNu2FAZ9ZUP6Kk5XfQU0fI45pNxdR64p+zAeLARpb6jX/gR m4jK0BvwS51Ixh6kz0JIhNGLCf4ua6K13e4AYs2D/UFDbv3bw17e6v15Zt6unyO6gtzj LMWQ== 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=Z0Tvfje+W9yLNBn97ynjbkbA7pY0WdgHG3wHcIN+/rs=; b=G6Z9tFJLI7gs5gTDLSh7uaufx3AivVlyOHpt8RG6f56nBIHqfXCRU5hB1DYPeK/nDo CmMIqZstaPL0SKyoLKSKR2RJbeUxRy9Qc9pq67G/epOpXTnQ26zyPbUSrpDnezFFn3A4 EXvdufE1zB++Mk8pN7MCOBgJuPeLnr1eaF885SRNshi8jruMaXL+d7vz8PbItm3U9kF+ tzRxYoCzI/ZTfJ3rxS8B+EY2so6eO2Eq5U9usYeqGT9vj/Df7x4f1YTW2uyFVZRiYdRa sp2G7jVebalmJMFJcZ13rZGUi/5RX75EdSKpq5+LNHBx1FKtNcF+fs/r+QGxRYAPR0h/ cB6w== X-Gm-Message-State: APjAAAXDV34tNHq9211PqWu1dvDSjjckbWEs2AePzvF3zc2zqR0M8aGi /D/TCN3isPvNUCRhJsiHwMYRY9BKA6q6wg== X-Google-Smtp-Source: APXvYqyGj2bbltwZtYt/YKCLYxRRWo4Ysbw+8N0Eq8GW2eF9rSEdT6yxDTkWdXafCPIGjgJWNKexbw== X-Received: by 2002:ac2:50c4:: with SMTP id h4mr7112877lfm.104.1565220657834; Wed, 07 Aug 2019 16:30:57 -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 i62sm18359206lji.14.2019.08.07.16.30.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Aug 2019 16:30:57 -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 6/9] Marvell/Library: IcuLib: Fix debug information Date: Thu, 8 Aug 2019 01:30:27 +0200 Message-Id: <1565220630-1653-7-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565220630-1653-1-git-send-email-mw@semihalf.com> References: <1565220630-1653-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 --- 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