From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.25124.1662386178125338667 for ; Mon, 05 Sep 2022 06:56:18 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qG0wIx67; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A552B6128D for ; Mon, 5 Sep 2022 13:56:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1369EC433D7 for ; Mon, 5 Sep 2022 13:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662386177; bh=A6RgQypxDBtJ+Gn45hINIbnmb5q4Q17EUto0x6iOdSU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qG0wIx67md4rtYlnrz0+AP4Ac4Lt520IyFwQdtXk/MdWrs1e14VHjFIfldIxVIoLK huWI5E6+kg0rjqir2E6260YlxE28Rx6UsF+ITorERMV9HGeLOqvfj4p0lrsHuRKdoX pGlPFlSqRjPzqKJepsv10l2+87sie8piqFJyLUTxuYkzeJvN1h59yd8Yl7p9zgfqCt NvM58OxArhIez7nMS+V6tyXHNRVDwK80zwqAjkQf92h/DNOI3X5HRiR0Yff0CcpKIU V7cmPDbnx4DQqysAeVzYTev4wyaIJYvfgaDZh+AHX50Z1RlNWXGKrCcikHPXnGVQeT +/Xq/DioLAT7Q== Received: by mail-lf1-f54.google.com with SMTP id g7so13204716lfe.11 for ; Mon, 05 Sep 2022 06:56:16 -0700 (PDT) X-Gm-Message-State: ACgBeo0Ik+KpLN6lrWmfnYwPBBquFP08VtE7/bJ3ZSoSU5QEy5unsTcx 9ylzRV314SsI/ACxkZnF1YJXN1r6LhKe+YdJ/VU= X-Google-Smtp-Source: AA6agR4vYr9kAvXw+FkenxthBRKaQ+nXv7SQ8zuYYcKBvmIl1IzbT3chHI+4zyLpaWz+s2bQ9bVhyEEN6Rhh7kyCG9E= X-Received: by 2002:a05:6512:3047:b0:494:716e:4f47 with SMTP id b7-20020a056512304700b00494716e4f47mr10799918lfb.228.1662386175135; Mon, 05 Sep 2022 06:56:15 -0700 (PDT) MIME-Version: 1.0 References: <20220803092722.728544-1-xiewenyi2@huawei.com> <20220803092722.728544-2-xiewenyi2@huawei.com> In-Reply-To: <20220803092722.728544-2-xiewenyi2@huawei.com> From: "Ard Biesheuvel" Date: Mon, 5 Sep 2022 15:56:03 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH EDK2 v1 1/1] EmbeddedPkg/GdbSerialDebugPortLib:fix compile warning To: Wenyi Xie Cc: devel@edk2.groups.io, quic_llindhol@quicinc.com, ardb+tianocore@kernel.org, abner.chang@amd.com, daniel.schaefer@hpe.com, songdongkuang@huawei.com Content-Type: text/plain; charset="UTF-8" On Wed, 3 Aug 2022 at 11:27, Wenyi Xie wrote: > > The value of gTimeOut is from PcdGdbMaxPacketRetryCount, and this > PCD is UINT32. So change the declaratrion of gTimeOut to UINT32 > to fix compile warning. > > Cc: Leif Lindholm > Cc: Ard Biesheuvel > Cc: Abner Chang > Cc: Daniel Schaefer > Signed-off-by: Wenyi Xie > --- > EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c > index d53a5fe47f18..d54e1cf7e094 100644 > --- a/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c > +++ b/EmbeddedPkg/Library/GdbSerialDebugPortLib/GdbSerialDebugPortLib.c > @@ -17,7 +17,7 @@ > #include > > EFI_DEBUGPORT_PROTOCOL *gDebugPort = NULL; > -UINTN gTimeOut = 0; > +UINT32 gTimeOut = 0; > > /** > The constructor function initializes the UART. > -- > 2.20.1.windows.1 > Merged as #3287