Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 222e2854fe6bed443686e3809f155fd7b824fabd
      
https://github.com/tianocore/edk2/commit/222e2854fe6bed443686e3809f155fd7b824fabd
  Author: Abdul Lateef Attar <[email protected]>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M BaseTools/Source/C/Include/Common/BaseTypes.h

  Log Message:
  -----------
  BaseTools: Update RETURN_ERROR Macro in BaseTypes.h

This patch is to sync RETURN_ERROR macro with the
MdePkg/Include/Base.h

Ref: 1a89d9887f MdePkg:Update Return Error Macro in Base.h

Fixing RETURN_ERROR macro.
It is causing problem in Coverity Static analysis tool
as we are directly converting the UINT value to INTN.

Changing value from UINT to INTN might cause problema
Here we know that the values would not be in loss of data.
To increase the code quality and increase the static tool
analysis score we have to change it

Cc: Rebecca Cran <[email protected]>
Cc: Liming Gao <[email protected]>
Cc: Bob Feng <[email protected]>
Cc: Yuwei Chen <[email protected]>
Signed-off-by: Abdul Lateef Attar <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


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

Reply via email to