From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=GZRXtrNf; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: leif.lindholm@linaro.org) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by groups.io with SMTP; Fri, 16 Aug 2019 10:37:19 -0700 Received: by mail-wm1-f65.google.com with SMTP id v15so4655240wml.0 for ; Fri, 16 Aug 2019 10:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=I7q8i7OsJwQbWfqZhc9Wf0b9Dx+mEt9KbWQ8Qt8q0zA=; b=GZRXtrNfkgN3WmDbJnARRdrINKX47zOc9ZHOS5rjeUfz/xe9DcElqKO0z2maTRqQ3z LKQjdndjoIUxLfnusJiyjxnjHhqXMAT3/CU2AJwjlfOliqfbzvfeKDMB1k7I+1/dpS+z Yem760Au9eHX9GMBCbjlzovJfUPZ/RN6FkTC6h7KPxuzbSdP5lSptaV4LbKWzUTk6B4H EQZBZkQYozRwDH7FXWQlWSKzeNYADNdTbi1ZkSDbcoW61KmIZ5vpIRW9PL7zJhdQC2JC uYLRXUIupY0mhDEyZPRUIk6dZdaVn7/515pAV5xbd31bLjQw91js3xZAoE6Nw6VXu+l9 QqjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=I7q8i7OsJwQbWfqZhc9Wf0b9Dx+mEt9KbWQ8Qt8q0zA=; b=OpW/pFOe5kPAwI+4yNpJ/1/0zwKwGO+6OG14tywyY1szDiw9IMueul7t6V6vQfqTfu DrQGfOmdWDzi+oiAEcART7fEt20lDf6iLSei0FLin0R/I60HqoiTp/ob8HqLUmOgwzv8 CxF96C6PlLwkRJKt2Xln415u2DYzonYbu6PeUigAUAp5XqJ3sDCcaUvjy9pM8+ZmHk4t FYZfa+UaL4b4uOawO62k3vbEQX9HA4t1GEogHSzrLaMQ9C3Oo+XSHkvTpmjGYaoLi4rr E19z4Q4Rx4WtOh+7C8VuRa6Li9lgUg4WSfzu4lnuXA3QLDfURj+WActNUciwLKkrZO/i KVVA== X-Gm-Message-State: APjAAAV5YtRa23mJ8M4FPABqjtMPtAEoQAgdC/nPJg9hvYvwAsmOYJWY mUjzKEGzWAhuJNrLj2p6t2UYn3CB54M= X-Google-Smtp-Source: APXvYqxA2sTOmVxLtYablvU1ziYqAdYCo4NOLMuC0vnOS/P4SNmz+cVF4l77VnNkQ9gVuleozFbVTQ== X-Received: by 2002:a1c:a985:: with SMTP id s127mr8318430wme.163.1565977038176; Fri, 16 Aug 2019 10:37:18 -0700 (PDT) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id t63sm4689896wmt.6.2019.08.16.10.37.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2019 10:37:17 -0700 (PDT) Date: Fri, 16 Aug 2019 18:37:16 +0100 From: "Leif Lindholm" To: Marcin Wojtas Cc: devel@edk2.groups.io, ard.biesheuvel@linaro.org, jsd@semihalf.com, jaz@semihalf.com, kostap@marvell.com Subject: Re: [edk2-platforms: PATCH v2 07/10] Marvell/Library: IcuLib: Fix debug information Message-ID: <20190816173716.GZ29255@bivouac.eciton.net> References: <1565837654-13258-1-git-send-email-mw@semihalf.com> <1565837654-13258-8-git-send-email-mw@semihalf.com> MIME-Version: 1.0 In-Reply-To: <1565837654-13258-8-git-send-email-mw@semihalf.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Aug 15, 2019 at 04:54:11AM +0200, Marcin Wojtas wrote: > 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. Whoops. > 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 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 >