From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from walk.intel-email.com (walk.intel-email.com [101.227.64.242]) by mx.groups.io with SMTP id smtpd.web11.78309.1684112121393988875 for ; Sun, 14 May 2023 17:55:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=l7nRRGqM; spf=pass (domain: byosoft.com.cn, ip: 101.227.64.242, mailfrom: gaoliming@byosoft.com.cn) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id BAAD5CD1F6AD for ; Mon, 15 May 2023 08:55:17 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1684112117; bh=evoS4MbPApIt40m/qxNuDCm65pzsBln+LonMyTug5GU=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=l7nRRGqMTmIl19gon9hs5MoNCV+UxpGWsZKrKWe5zz1Nq/VBvUJTum3Cad3uub+Xb zc8tb2yGfkvjb5bVxLhHewlT0ba29vktLqHNa2f/MbZPf7/MugAGYfByKzSw7AduHt 8U8tKOEYkO59ZP1Yn0Pk4emce1CsEFhW8S3DChyY= Received: from localhost (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id B6E6FCD1F688 for ; Mon, 15 May 2023 08:55:17 +0800 (CST) Received: from walk.intel-email.com (localhost [127.0.0.1]) by walk.intel-email.com (Postfix) with ESMTP id 6D7FDCD1F6AB for ; Mon, 15 May 2023 08:55:17 +0800 (CST) Authentication-Results: walk.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by walk.intel-email.com (Postfix) with SMTP id AA3B3CD1F65A for ; Mon, 15 May 2023 08:55:14 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 15 May 2023 08:55:09 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , Cc: "'Rebecca Cran'" References: <20230510145008.1893553-1-ardb@kernel.org> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIXSBCYXNlVG9vbHMvdG9vbHNfZGVmOiBEaXNhYmxlIG92ZXJ6ZWFsb3VzIHVudXNlZCB2YXJpYWJsZSB3YXJuaW5nIG9uIENsYW5n?= Date: Mon, 15 May 2023 08:55:09 +0800 Message-ID: <00ee01d986c7$e61f38c0$b25daa40$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIbJf828KLpbNv91L0ryFlNonFrCAIvWNGyAPRTMcOuviZOkA== Sender: "gaoliming" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Ard: I am OK.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Ard > Biesheuvel > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B45=E6=9C=8812=E6=97=A5 = 14:40 > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; kraxel@redhat.com > =E6=8A=84=E9=80=81: Rebecca Cran ; Liming Gao > > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] [PATCH] BaseTools/tools_def: Disable= overzealous > unused variable warning on Clang >=20 > Liming: >=20 > I'd like to merge this one for the stable tag - any objections? >=20 >=20 > On Thu, 11 May 2023 at 06:55, Gerd Hoffmann wrote: > > > > On Wed, May 10, 2023 at 04:50:08PM +0200, Ard Biesheuvel wrote: > > > The warnings Clang emits when enabling > -Wunneeded-internal-declaration > > > (which is part of -Wall) are generating false positives for variables > > > whose size gets taken but are not referenced beyond that. > > > > > > This may happen legitimately in debug code, so let's disable this > > > warning for Clang, rather than tiptoe around it in the code base. > > > > > > This fixes the RELEASE build for OVMF, which triggers this issue in t= he > > > newly added VirtioSerialDxe driver. > > > > > > Cc: Rebecca Cran > > > Cc: Gerd Hoffmann > > > Cc: Liming Gao > > > Signed-off-by: Ard Biesheuvel > > > > Acked-by: Gerd Hoffmann > > > > > > > > > > > > >=20 >=20 >=20 >=20