edk2-msm icon indicating copy to clipboard operation
edk2-msm copied to clipboard

Bug: Suspicious expression triggers build failure for device sm6225

Open Sasmithere opened this issue 3 months ago • 0 comments

Attempting to build the device sm6225 fails due to a suspicious expression warning, which prevents successful compilation.

Steps to Reproduce Start the build process for the device sm6225.

Wait for the build script to reach the affected configuration files.

Observe the error output during the build.

Expected Behavior The build process for sm6225 should complete successfully without warnings about invalid comparisons.

Actual Behavior The build halts due to the following warning:

text warning: Suspicious expression: == Comparison between Operand of string type and Boolean/Number Type always return False. !if $(ENABLE_LINUX_UTILS) == 1 This occurs in the following files:

sm6225.fdf QcomCommonDsc.inc

Environment Target device: sm6225

Files involved: sm6225.fdf, QcomCommonDsc.inc

Error occurs at the macro/conditional evaluation step

Sasmithere avatar Sep 17 '25 18:09 Sasmithere