Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 222e2854fe6bed443686e3809f155fd7b824fabd
      
https://github.com/tianocore/edk2/commit/222e2854fe6bed443686e3809f155fd7b824fabd
  Author: Abdul Lateef Attar <abdullateef.at...@amd.com>
  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 <rebe...@bsdio.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Signed-off-by: Abdul Lateef Attar <abdullateef.at...@amd.com>



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


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to