efi: arm: force use of unsigned type for EFI_PHYS_ALIGN
authorArd Biesheuvel <ardb@kernel.org>
Sun, 13 Dec 2020 15:07:03 +0000 (16:07 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 14 Dec 2020 15:25:06 +0000 (16:25 +0100)
commitd72c8b0e1cacc39495cd413433d260e8ae59374a
tree83017fb4ceb0c01a83a4ac42cd38494b3f8e8807
parente0a6aa30504cb8179d07609fb6386705e8f00663
efi: arm: force use of unsigned type for EFI_PHYS_ALIGN

Ensure that EFI_PHYS_ALIGN is an unsigned type, to prevent spurious
warnings from the type checks in the definition of the max() macro.

Link: https://lore.kernel.org/linux-efi/20201213151306.73558-1-ardb@kernel.org
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/arm/include/asm/efi.h