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=tzlsPQsB; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.208.195, mailfrom: mw@semihalf.com) Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) by groups.io with SMTP; Wed, 14 Aug 2019 19:54:41 -0700 Received: by mail-lj1-f195.google.com with SMTP id t14so998817lji.4 for ; Wed, 14 Aug 2019 19:54:40 -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=Buj6H6bkUtE5CkrfLoQOUBy4EE3mIT/VQwo2k9eFqxI=; b=tzlsPQsB8eanT1hgareRTVLy9DwDPA7AyiJ4kCVc9f9+zWGH7EgdbkaHaJmkQrFc+B 2uzat4ZMVcIV4F9TeQ+L6Q48ma5qPuRuqDV6yESJfLjMcSuWMvsOS2V7QItB6GtkwwLY KaeDUfS/1dnhAGn373eJXaArJiee3tm7SNDWmIXkRRb34jdqkqGj875wQvn8AKahXg7I J2OTb6s/Bp0IiaXjcT2aljVt712CY1J7L/k6hYCWtZDk/HvoQpr+zMHxCDK8aNjKgjJT N8U101AtE1TTV2VXWsl8taCwYpD7ErD3rTbSyb58ArPvFJzucjv9ynmWqCvEVVXo8Pp2 qdbQ== 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=Buj6H6bkUtE5CkrfLoQOUBy4EE3mIT/VQwo2k9eFqxI=; b=ewGBYE4RGpNP0hTw+/skQgzUyOgx/QgoNBJptphaezsombskCcHHbaFKUXg4pc3216 FqhUkE3e5dfzOgIGEfrsKEft1q5hH/LFCJeF/N1bwYxXwvk0UiX9eF3y+CRDHJ9clWIA bwQm5CdPIu2sWLS0j+0Uv9/bdwsXTvBte/YyMlRGlAMG3DMlFZSaoaVXABHt4TDVQsk7 fQMNIm+IC8YxviQjbWWbroCeBjwSkzAPhznAQ6/chdXCOphrfr+nFSwHrEbYh0wnaQok jFuDmBtYHOw+gMW512H43x+N58KAf4xaiBuBpabhI1Img+++MKg84CUEKRTk79DsCdZE MMCw== X-Gm-Message-State: APjAAAWpEVhvsknlTWx+DGBPA7nUBJU0BK0ekCXlbX5J4lVC42ZEyYXk 7xMUGB/KKtultIKzGyPN4qEuzWIEziiEJA== X-Google-Smtp-Source: APXvYqwwCeW40RMW9KcxDWOGPvKWcAJScKvoTgn/fhg4rB7ht6DdCaWaYtCNwrmd58F1i48N6U5nQA== X-Received: by 2002:a2e:2c14:: with SMTP id s20mr1435232ljs.16.1565837679285; Wed, 14 Aug 2019 19:54:39 -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 n17sm214035lfi.37.2019.08.14.19.54.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Aug 2019 19:54:38 -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 v2 07/10] Marvell/Library: IcuLib: Fix debug information Date: Thu, 15 Aug 2019 04:54:11 +0200 Message-Id: <1565837654-13258-8-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565837654-13258-1-git-send-email-mw@semihalf.com> References: <1565837654-13258-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 422388c..8d99409 100644 --- a/Silicon/Marvell/Library/IcuLib/IcuLib.c +++ b/Silicon/Marvell/Library/IcuLib/IcuLib.c @@ -285,8 +285,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