From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.36340.1679464510008994026 for ; Tue, 21 Mar 2023 22:55:10 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RrFE8cEL; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679464508; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SFuX8h4JtdsM29/YUTsKZi7ULsgX4gK4h7bJorvBJm4=; b=RrFE8cELlD+KnoNiwFACNfF6bHS1gU+R8d2TaoId86WYuoJCGWwgdlMZnpaYGRSBX/dynF zb5iL4wygZYP+VTsqzCoh51VzHyjEBNOUqbF5RUy+3ilBnUMbnAoGDaMsAjD+ED/UIyQqe odAz4s9SGBF8EbnMeF+gE5uhAMzGKSE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-QebEdmXSN0yZ6I101MLWVg-1; Wed, 22 Mar 2023 01:55:04 -0400 X-MC-Unique: QebEdmXSN0yZ6I101MLWVg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6EADE185A791; Wed, 22 Mar 2023 05:55:03 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.53]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 249D5202701F; Wed, 22 Mar 2023 05:55:02 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A5F3718000A3; Wed, 22 Mar 2023 06:55:00 +0100 (CET) Date: Wed, 22 Mar 2023 06:55:00 +0100 From: "Gerd Hoffmann" To: Rebecca Cran Cc: devel@edk2.groups.io, Michael D Kinney , Liming Gao , Zhiguang Liu , Bob Feng , Yuwei Chen , Andrew Fish , Leif Lindholm , Ard Biesheuvel , Jordan Justen Subject: Re: [PATCH 1/9] OvmfPkg: Replace static struct initialization with ZeroMem call Message-ID: <20230322055500.w3mspeekmarphyng@sirius.home.kraxel.org> References: <20230322013040.3322865-1-rebecca@bsdio.com> <20230322013040.3322865-2-rebecca@bsdio.com> MIME-Version: 1.0 In-Reply-To: <20230322013040.3322865-2-rebecca@bsdio.com> X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 21, 2023 at 07:30:32PM -0600, Rebecca Cran wrote: > Replace the static struct initialization with a call to ZeroMem to avoid > generating a call to memset in certain build configurations. > > Signed-off-by: Rebecca Cran Reviewed-by: Gerd Hoffmann