Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseTools: Update RETURN_ERROR Macro in BaseTypes.h #6219

Merged
merged 2 commits into from
Sep 20, 2024

Commits on Sep 19, 2024

  1. BaseTools: Update RETURN_ERROR Macro in BaseTypes.h

    This patch is to sync RETURN_ERROR macro with the
    MdePkg/Include/Base.h
    
    Ref: 1a89d98 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]>
    Abdul Lateef Attar authored and Abdul Lateef Attar committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    169722b View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Configuration menu
    Copy the full SHA
    1869293 View commit details
    Browse the repository at this point in the history