[edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL

Guomin Jiang posted 6 patches 5 years, 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/edk2 tags/patchew/20200416073354.2232-1-guomin.jiang@intel.com
.../Include/Library/SecurityManagementLib.h   |  2 +-
.../DxeSecurityManagementLib.c                |  2 +-
.../Universal/SecurityStubDxe/SecurityStub.c  |  2 +-
MdePkg/Include/Protocol/Security2.h           |  2 +-
.../DxeImageAuthenticationStatusLib.c         |  2 +-
.../DxeImageVerificationLib.c                 |  2 +-
.../DxeTpm2MeasureBootLib.c                   | 20 +++++++++----------
.../DxeTpmMeasureBootLib.c                    | 20 +++++++++----------
8 files changed, 26 insertions(+), 26 deletions(-)
[edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL
Posted by Guomin Jiang 5 years, 9 months ago
File paramter should be optional according to the descritpion.

Guomin Jiang (6):
  SecurityPkg/TPM: measure UEFI images without associated device paths
    again
  SecurityPkg/DxeImageAuth: Mark the File parameter as option
  SecurityPkg/DxeImageVerificationLib: Mark the File parameter as
    OPTIONAL
  MdeModulePkg/SecurityManagementLib: Mark the File parameter as
    OPTIONAL
  MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL
  MdePkg/Security2: Mark the File parameter as OPTIONAL.

 .../Include/Library/SecurityManagementLib.h   |  2 +-
 .../DxeSecurityManagementLib.c                |  2 +-
 .../Universal/SecurityStubDxe/SecurityStub.c  |  2 +-
 MdePkg/Include/Protocol/Security2.h           |  2 +-
 .../DxeImageAuthenticationStatusLib.c         |  2 +-
 .../DxeImageVerificationLib.c                 |  2 +-
 .../DxeTpm2MeasureBootLib.c                   | 20 +++++++++----------
 .../DxeTpmMeasureBootLib.c                    | 20 +++++++++----------
 8 files changed, 26 insertions(+), 26 deletions(-)

-- 
2.25.1.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57454): https://edk2.groups.io/g/devel/message/57454
Mute This Topic: https://groups.io/mt/73050531/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL
Posted by Wang, Jian J 5 years, 9 months ago
For the patch series,

Reviewed-by: Jian J Wang <jian.j.wang@intel.com>

Regards,
Jian

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Guomin
> Jiang
> Sent: Thursday, April 16, 2020 3:34 PM
> To: devel@edk2.groups.io
> Subject: [edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL
> 
> File paramter should be optional according to the descritpion.
> 
> Guomin Jiang (6):
>   SecurityPkg/TPM: measure UEFI images without associated device paths
>     again
>   SecurityPkg/DxeImageAuth: Mark the File parameter as option
>   SecurityPkg/DxeImageVerificationLib: Mark the File parameter as
>     OPTIONAL
>   MdeModulePkg/SecurityManagementLib: Mark the File parameter as
>     OPTIONAL
>   MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL
>   MdePkg/Security2: Mark the File parameter as OPTIONAL.
> 
>  .../Include/Library/SecurityManagementLib.h   |  2 +-
>  .../DxeSecurityManagementLib.c                |  2 +-
>  .../Universal/SecurityStubDxe/SecurityStub.c  |  2 +-
>  MdePkg/Include/Protocol/Security2.h           |  2 +-
>  .../DxeImageAuthenticationStatusLib.c         |  2 +-
>  .../DxeImageVerificationLib.c                 |  2 +-
>  .../DxeTpm2MeasureBootLib.c                   | 20 +++++++++----------
>  .../DxeTpmMeasureBootLib.c                    | 20 +++++++++----------
>  8 files changed, 26 insertions(+), 26 deletions(-)
> 
> --
> 2.25.1.windows.1
> 
> 
> 


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57725): https://edk2.groups.io/g/devel/message/57725
Mute This Topic: https://groups.io/mt/73050531/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL
Posted by Laszlo Ersek 5 years, 9 months ago
On 04/16/20 09:33, Guomin Jiang wrote:
> File paramter should be optional according to the descritpion.
> 
> Guomin Jiang (6):
>   SecurityPkg/TPM: measure UEFI images without associated device paths
>     again
>   SecurityPkg/DxeImageAuth: Mark the File parameter as option
>   SecurityPkg/DxeImageVerificationLib: Mark the File parameter as
>     OPTIONAL
>   MdeModulePkg/SecurityManagementLib: Mark the File parameter as
>     OPTIONAL
>   MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL
>   MdePkg/Security2: Mark the File parameter as OPTIONAL.
> 
>  .../Include/Library/SecurityManagementLib.h   |  2 +-
>  .../DxeSecurityManagementLib.c                |  2 +-
>  .../Universal/SecurityStubDxe/SecurityStub.c  |  2 +-
>  MdePkg/Include/Protocol/Security2.h           |  2 +-
>  .../DxeImageAuthenticationStatusLib.c         |  2 +-
>  .../DxeImageVerificationLib.c                 |  2 +-
>  .../DxeTpm2MeasureBootLib.c                   | 20 +++++++++----------
>  .../DxeTpmMeasureBootLib.c                    | 20 +++++++++----------
>  8 files changed, 26 insertions(+), 26 deletions(-)
> 

The more I look at the pre-patch code, the more the pre-existent
documentation inconsistencies irritate me.

I withdraw from reviewing this series. Proceed as you and other
reviewers see fit.

If you prefer, go ahead and simply revert 4b026f0d5af3. If you do so, I
will not review that patch either. The existent function-level comments
are broken, so I don't think anyone can really rely on them for guidance.

If you want to do the right thing, the whole comment mess has to be
cleaned up. Up to you, but I'm out.

Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57622): https://edk2.groups.io/g/devel/message/57622
Mute This Topic: https://groups.io/mt/73050531/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 0/6] Mark the File parameter as OPTIONAL
Posted by Guomin Jiang 5 years, 9 months ago
Hi Laszlo,

I'm sad when saw the message. but I still appreciate the advice provided by you.

I think that this is not the only documentation issue, and should discuss in other topic.

Hi Jian, Chao,

Just for this issue, please give some feedback.

Best Regards
Guomin

> -----Original Message-----
> From: Laszlo Ersek <lersek@redhat.com>
> Sent: Monday, April 20, 2020 7:39 PM
> To: devel@edk2.groups.io; Jiang, Guomin <guomin.jiang@intel.com>
> Subject: Re: [edk2-devel] [PATCH v2 0/6] Mark the File parameter as
> OPTIONAL
> 
> On 04/16/20 09:33, Guomin Jiang wrote:
> > File paramter should be optional according to the descritpion.
> >
> > Guomin Jiang (6):
> >   SecurityPkg/TPM: measure UEFI images without associated device paths
> >     again
> >   SecurityPkg/DxeImageAuth: Mark the File parameter as option
> >   SecurityPkg/DxeImageVerificationLib: Mark the File parameter as
> >     OPTIONAL
> >   MdeModulePkg/SecurityManagementLib: Mark the File parameter as
> >     OPTIONAL
> >   MdeModulePkg/SecurityStubDxe: Mark the File parameter as OPTIONAL
> >   MdePkg/Security2: Mark the File parameter as OPTIONAL.
> >
> >  .../Include/Library/SecurityManagementLib.h   |  2 +-
> >  .../DxeSecurityManagementLib.c                |  2 +-
> >  .../Universal/SecurityStubDxe/SecurityStub.c  |  2 +-
> >  MdePkg/Include/Protocol/Security2.h           |  2 +-
> >  .../DxeImageAuthenticationStatusLib.c         |  2 +-
> >  .../DxeImageVerificationLib.c                 |  2 +-
> >  .../DxeTpm2MeasureBootLib.c                   | 20 +++++++++----------
> >  .../DxeTpmMeasureBootLib.c                    | 20 +++++++++----------
> >  8 files changed, 26 insertions(+), 26 deletions(-)
> >
> 
> The more I look at the pre-patch code, the more the pre-existent
> documentation inconsistencies irritate me.
> 
> I withdraw from reviewing this series. Proceed as you and other reviewers
> see fit.
> 
> If you prefer, go ahead and simply revert 4b026f0d5af3. If you do so, I will not
> review that patch either. The existent function-level comments are broken,
> so I don't think anyone can really rely on them for guidance.
> 
> If you want to do the right thing, the whole comment mess has to be cleaned
> up. Up to you, but I'm out.
> 
> Laszlo


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57684): https://edk2.groups.io/g/devel/message/57684
Mute This Topic: https://groups.io/mt/73050531/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-