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

Laszlo Ersek lersek at redhat.com
Mon Apr 20 11:39:07 UTC 2020


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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list