summaryrefslogtreecommitdiff
path: root/OvmfPkg/SmmControl2Dxe/SmiFeatures.c
diff options
context:
space:
mode:
authorRanbir Singh <Ranbir.Singh3@Dell.com>2023-07-17 12:24:43 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-08-02 03:13:36 +0000
commitc7c1170a4568ecc0f63e14ca6a844d40f47519a9 (patch)
tree10b2a24ad1986d234285390331e1632373358dde /OvmfPkg/SmmControl2Dxe/SmiFeatures.c
parent677f2c6f1509da21258e02957b869b71b008fc61 (diff)
downloadedk2-c7c1170a4568ecc0f63e14ca6a844d40f47519a9.zip
edk2-c7c1170a4568ecc0f63e14ca6a844d40f47519a9.tar.gz
edk2-c7c1170a4568ecc0f63e14ca6a844d40f47519a9.tar.bz2
MdeModulePkg/Bus/Ata/AtaAtapiPassThru: Fix SIGN_EXTENSION Coverity issue
Line number 1348 does contain a typecast with UINT32, but it is after all the operations (16-bit left shift followed by OR'ing) are over. To avoid any SIGN_EXTENSION, typecast the intermediate result after 16-bit left shift operation immediately with UINT32. REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4204 Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Ranbir Singh <Ranbir.Singh3@Dell.com> Signed-off-by: Ranbir Singh <rsingh@ventanamicro.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Diffstat (limited to 'OvmfPkg/SmmControl2Dxe/SmiFeatures.c')
0 files changed, 0 insertions, 0 deletions