RE: [PATCH v2] x86/efi: fix a -Wtype-limits compilation warning

From: Prakhya, Sai Praneeth
Date: Wed Jun 19 2019 - 13:58:49 EST


> Compiling a kernel with W=1 generates this warning,
>
> arch/x86/platform/efi/quirks.c:731:16: warning: comparison of unsigned
> expression >= 0 is always true [-Wtype-limits]
>
> Fixes: 3425d934fc03 ("efi/x86: Handle page faults occurring while running EFI
> runtime services")
> Signed-off-by: Qian Cai <cai@xxxxxx>
> ---
>
> v2: Add a "Fixes" tag.

Makes sense.
Thanks for the fix Qian Cai.

Regards,
Sai