Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4fb69c2bee3006b08ca2abba58843f7573e0c5c6
      
https://github.com/tianocore/edk2/commit/4fb69c2bee3006b08ca2abba58843f7573e0c5c6
  Author: Ranbir Singh <[email protected]>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M MdeModulePkg/Bus/Ata/AtaBusDxe/AtaPassThruExecute.c

  Log Message:
  -----------
  MdeModulePkg/Bus/Ata/AtaBusDxe: Fix SIGN_EXTENSION Coverity issue

Line number 365 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=4209

Cc: Hao A Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Signed-off-by: Ranbir Singh <[email protected]>
Signed-off-by: Ranbir Singh <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to