From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by mx.groups.io with SMTP id smtpd.web11.1673.1570807280536231368 for ; Fri, 11 Oct 2019 08:21:20 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=GSXwUrLk; spf=none, err=SPF record not found (domain: semihalf.com, ip: 209.85.208.193, mailfrom: mw@semihalf.com) Received: by mail-lj1-f193.google.com with SMTP id y23so10184579lje.9 for ; Fri, 11 Oct 2019 08:21:20 -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=GSXwUrLkvMm2jZwLDpmXzSUeueucom3JCasxtcja0h32J/cPvHYepOnMgt50V16s4B WFUwtEDgB7E0iPnjMcEGjhxV9hfMT5Fho6eZVE3h5Dp0cOwfjv9hXdnKol/8sr1962bm LvV+tLFqBvypjfkcLQgJDSyIbzU0lcGMqZ6Vrp+/sTav8ACi5tlB9Zrib4i2plq33Rrp yq8S/37tLI8GuVULbOhIA9gv6XM05LZu/JnTlVzrwkupPRnAxMJavoKWECGIz5dmtIWd ng8zHx8BSyLVw17dVqH4PXoUXETZKdu01blvVfMHvatXEmgPwuQTc3l7lbgAGonGBQI2 V2Lg== 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=KT6bJL8EFWTKnXHXPvCFtTr9z4kIF93WBr2RsUTHTeWfYCWRLHEcoqJsCRNMuePrH4 UN62IW937wjodpilZpGe5eXHDJe2VMX611U1ilqVefauLZhI4iEeIbP0gE5jEh/aE/mb X+4eRhfYZ32/cLdu7DoDJyLoZmDo+S2N7cqg3tpANK2NSwDhOVyLTasVvH8g8wu4Bqz5 v0uk2e3MoehHl2LGVw9lD/7wWRR4VQ8NO5K/WK61hL4dSp8ZajRhcOz1rCoM2M+KtKxB Wck36Ld6dHM6MDWgeqyDtU8gNIpEyPl1I3UYYjCcuRDeO6CwyT8yrNXDFei3+oYjIMw0 VD6A== X-Gm-Message-State: APjAAAVSucCYEIWZIUQpnyiFcF9sgcMpPUQshm57G8POEKsBWytsBrhH R7kMM/lQxX1RZoqsuPZ9WJyWMuxnKdJlBg== X-Google-Smtp-Source: APXvYqyk/xe/Av3SkX3VpLgNj2Ok0KIRNJQ/msddl+60Hne6Fly4hBZurhyHs0sMHTfoVmF2lk079Q== X-Received: by 2002:a2e:3a19:: with SMTP id h25mr9799650lja.129.1570807278502; Fri, 11 Oct 2019 08:21:18 -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 y4sm2058939ljd.82.2019.10.11.08.21.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Oct 2019 08:21:17 -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 v4 5/9] Marvell/Library: IcuLib: Fix debug information Date: Fri, 11 Oct 2019 17:20:27 +0200 Message-Id: <1570807231-4155-6-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1570807231-4155-1-git-send-email-mw@semihalf.com> References: <1570807231-4155-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