Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6f0729484f3b6c6e7e656b6c049312cadc29e73a
      
https://github.com/tianocore/edk2/commit/6f0729484f3b6c6e7e656b6c049312cadc29e73a
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M 
RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/PlatformHostInterfaceBmcUsbNicLib.c

  Log Message:
  -----------
  RedfishPkg/PlatformHostInterfaceBmcUsbNicLib: Fix DEBUG macro args

Some macros added have a mismatched number of  print specifiers to
arguments.

Cc: Abner Chang <[email protected]>
Cc: Nickle Wang <[email protected]>
Cc: Igor Kulchytskyy <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Abner Chang <[email protected]>


  Commit: 5cfb5d6c012701943fe976adda5cce7bd0a26084
      
https://github.com/tianocore/edk2/commit/5cfb5d6c012701943fe976adda5cce7bd0a26084
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M pip-requirements.txt

  Log Message:
  -----------
  pip-requirements.txt: Add regex

regex is a popular PIP module for regular expression support.

https://pypi.org/project/regex/

This change adds regex for the upcoming DebugMacroCheck plugin.

Cc: Sean Brogan <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>


  Commit: bc7bbd3bc4c990014da33cae0979b3bc9138d3ec
      
https://github.com/tianocore/edk2/commit/bc7bbd3bc4c990014da33cae0979b3bc9138d3ec
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M SecurityPkg/SecurityPkg.ci.yaml

  Log Message:
  -----------
  SecurityPkg.ci.yaml: Add debug macro exception

Adds a CI YAML entry to acknowledge a case where a single argument
is matched to a format specifier with a ternary operator.

Cc: Jiewen Yao <[email protected]>
Cc: Jian J Wang <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>


  Commit: 1312c2e9fd0d8691af1abb4c0afeb49981a5176c
      
https://github.com/tianocore/edk2/commit/1312c2e9fd0d8691af1abb4c0afeb49981a5176c
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M ArmVirtPkg/ArmVirtPkg.ci.yaml

  Log Message:
  -----------
  ArmVirtPkg.ci.yaml: Add debug macro exception

Adds a CI YAML entry to acknowledge a case where a macro is expanded
that contains a print specifier.

Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>


  Commit: 8803033c0cb147cc559edb95a77b73d58071d250
      
https://github.com/tianocore/edk2/commit/8803033c0cb147cc559edb95a77b73d58071d250
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M DynamicTablesPkg/DynamicTablesPkg.ci.yaml

  Log Message:
  -----------
  DynamicTablesPkg.ci.yaml: Add debug macro exception

Adds a CI YAML entry to acknowledge a case where custom strings
contain print specifiers for a single debug macro.

Cc: Sami Mujawar <[email protected]>
Cc: Alexei Fedorov <[email protected]>
Cc: Pierre Gondois <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Acked-by: Sami Mujawar <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>


  Commit: 97d367f37e1d44efd126efb0c5145240af9d7afb
      
https://github.com/tianocore/edk2/commit/97d367f37e1d44efd126efb0c5145240af9d7afb
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M OvmfPkg/PlatformCI/PlatformBuildLib.py

  Log Message:
  -----------
  OvmfPkg/PlatformCI: Disable DebugMacroCheck

Disables the DebugMacroCheck CI plugin to reduce CI checks performed
in the package.

Cc: Ard Biesheuvel <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Jordan Justen <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>


  Commit: cbcf0428e83bbe8314de47207072b3b4f1557dc6
      
https://github.com/tianocore/edk2/commit/cbcf0428e83bbe8314de47207072b3b4f1557dc6
  Author: Michael Kubacki <[email protected]>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    A BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheckBuildPlugin.py
    A BaseTools/Plugin/DebugMacroCheck/BuildPlugin/DebugMacroCheck_plug_in.yaml
    A BaseTools/Plugin/DebugMacroCheck/DebugMacroCheck.py
    A BaseTools/Plugin/DebugMacroCheck/Readme.md
    A BaseTools/Plugin/DebugMacroCheck/tests/DebugMacroDataSet.py
    A BaseTools/Plugin/DebugMacroCheck/tests/MacroTest.py
    A BaseTools/Plugin/DebugMacroCheck/tests/__init__.py
    A BaseTools/Plugin/DebugMacroCheck/tests/test_DebugMacroCheck.py

  Log Message:
  -----------
  BaseTools/Plugin: Add DebugMacroCheck

Adds a plugin that finds debug macro formatting issues. These errors
often creep into debug prints in error conditions not frequently
executed and make debug more difficult when they are encountered.

The code can be as a standalone script which is useful to find
problems in a large codebase that has not been checked before or as
a build plugin that notifies a developer of an error right away.

The script was already used to find numerous issues in edk2 in the
past so there's not many code fixes in this change. More details
are available in the readme file:

.pytool\Plugin\DebugMacroCheck\Readme.md

Cc: Sean Brogan <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Rebecca Cran <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Yuwei Chen <[email protected]>
Signed-off-by: Michael Kubacki <[email protected]>
Reviewed-by: Michael D Kinney <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/408e4631359d...cbcf0428e83b


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to