diff options
author | Abdul Lateef Attar <AbdulLateef.Attar@amd.com> | 2024-09-19 09:26:10 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-20 09:02:41 +0000 |
commit | 222e2854fe6bed443686e3809f155fd7b824fabd (patch) | |
tree | b94c1ead100e91b7e9e7a154069a774b2ded38d8 /ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf | |
parent | c3580093520809cbfe2abd0e702d53707b7782a9 (diff) | |
download | edk2-222e2854fe6bed443686e3809f155fd7b824fabd.tar.gz edk2-222e2854fe6bed443686e3809f155fd7b824fabd.tar.bz2 edk2-222e2854fe6bed443686e3809f155fd7b824fabd.zip |
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 <rebecca@bsdio.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
Diffstat (limited to 'ArmVirtPkg/Library/PlatformPeiLib/PlatformPeiLib.inf')
0 files changed, 0 insertions, 0 deletions