From: "Guo, Gua" <gua.guo@intel.com>
To: "Ni, Ray" <ray.ni@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Dong, Guo" <guo.dong@intel.com>, "Lu, James" <james.lu@intel.com>
Subject: Re: [PATCH] UefiPayloadPkg: Align Attribute value with UPL spec
Date: Mon, 27 Jun 2022 07:27:28 +0000 [thread overview]
Message-ID: <BL1PR11MB547819223EACD7D99FC1AD87EFB99@BL1PR11MB5478.namprd11.prod.outlook.com> (raw)
In-Reply-To: <MWHPR11MB16313126F3692A7A66C85F1A8CB99@MWHPR11MB1631.namprd11.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 2669 bytes --]
@Ni, Ray<mailto:ray.ni@intel.com>
Below url is pull request link. May I get your help to add push label ? Have any concern, please also share for me.
URL: https://github.com/tianocore/edk2/pull/3015
Thanks,
Gua
-----Original Message-----
From: Ni, Ray <ray.ni@intel.com>
Sent: Monday, June 27, 2022 2:53 PM
To: Guo, Gua <gua.guo@intel.com>; devel@edk2.groups.io
Cc: Dong, Guo <guo.dong@intel.com>; Lu, James <james.lu@intel.com>
Subject: RE: [PATCH] UefiPayloadPkg: Align Attribute value with UPL spec
Reviewed-by: Ray Ni <ray.ni@intel.com<mailto:ray.ni@intel.com>>
> -----Original Message-----
> From: Guo, Gua <gua.guo@intel.com<mailto:gua.guo@intel.com>>
> Sent: Monday, June 27, 2022 1:03 PM
> To: Ni, Ray <ray.ni@intel.com<mailto:ray.ni@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
> Cc: Dong, Guo <guo.dong@intel.com<mailto:guo.dong@intel.com>>; Lu, James <james.lu@intel.com<mailto:james.lu@intel.com>>
> Subject: RE: [PATCH] UefiPayloadPkg: Align Attribute value with UPL
> spec
>
> Yes, #2 is chosen in by the python interpreter.
>
> -----Original Message-----
> From: Guo, Gua
> Sent: Monday, June 27, 2022 12:07 PM
> To: Ni, Ray <ray.ni@intel.com<mailto:ray.ni@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
> Cc: Dong, Guo <guo.dong@intel.com<mailto:guo.dong@intel.com>>; Lu, James <james.lu@intel.com<mailto:james.lu@intel.com>>
> Subject: RE: [PATCH] UefiPayloadPkg: Align Attribute value with UPL
> spec
>
> The python logic will like for below
>
> > upld_info_hdr.Attribute |= 1 if BuildTarget == "DEBUG" else 0
> =========>
> > if BuildTarget == "DEBUG":
> > upld_info_hdr.Attribute |= 1
> > else:
> > upld_info_hdr.Attribute |= 0
>
> Thanks,
> Gua
>
> -----Original Message-----
> From: Ni, Ray <ray.ni@intel.com<mailto:ray.ni@intel.com>>
> Sent: Monday, June 27, 2022 11:44 AM
> To: Guo, Gua <gua.guo@intel.com<mailto:gua.guo@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
> Cc: Dong, Guo <guo.dong@intel.com<mailto:guo.dong@intel.com>>; Lu, James <james.lu@intel.com<mailto:james.lu@intel.com>>
> Subject: RE: [PATCH] UefiPayloadPkg: Align Attribute value with UPL
> spec
>
> > + upld_info_hdr.Attribute |= 1 if BuildTarget == "DEBUG" else 0
>
>
> I am not python expert. Above statement might be interpreted as:
> 1. (upld_info.hdr.Attribute |= 1) if BuildTarget == "DEBUG" else 0 2.
> upld_info_hdr.Attribute |= (1 if BuildTarget == "DEBUG" else 0)
>
> Are we sure that the #2 is chosen in by the python interpreter?
[-- Attachment #2: Type: text/html, Size: 8087 bytes --]
prev parent reply other threads:[~2022-06-27 7:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 3:09 [PATCH] UefiPayloadPkg: Align Attribute value with UPL spec gua.guo
2022-06-27 3:43 ` Ni, Ray
2022-06-27 4:06 ` Guo, Gua
2022-06-27 5:03 ` Guo, Gua
2022-06-27 6:52 ` Ni, Ray
2022-06-27 7:27 ` Guo, Gua [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BL1PR11MB547819223EACD7D99FC1AD87EFB99@BL1PR11MB5478.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox