On Wed, Mar 16, 2022 at 05:25:04PM +0000, Darren Kenny wrote:
> Coverity flagged the switch checks for R_AARCH64_* as being logically
> dead code, since it could never happen on x86 due to the masking of the
> values earlier in the code.
>
> A check for building on __ARM_ARCH (which gcc and clang define) and for
> MKIMAGE_ELF64 (which GRUB defines) has been added to avoid this dead
> code being built in.
>
> Fixes: CID 158599
>
> Signed-off-by: Darren Kenny <darren.ke...@oracle.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to