bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] arm64: fix build regression in of_path_of_nvme


From: Daniel Kiper
Subject: Re: [PATCH] arm64: fix build regression in of_path_of_nvme
Date: Mon, 26 Feb 2018 10:45:46 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Feb 26, 2018 at 09:57:34AM +0100, Joakim Bech wrote:
> The of_path_of_nvme function introduced a build regression:
>     grub-core/osdep/linux/ofpath.c:365:21: error: comparison between pointer
>     and zero character constant [-Werror=pointer-compare]
>        if ((digit_string != '\0') && (*part_end == 'p'))
>
> Update digit_string to compare against the char instead of the pointer.
>
> Signed-off-by: Joakim Bech <address@hidden>

CC-ing Vladimir.

Pushed with some commit message changes. Thanks! However, this raises
the question: why this code is build on ARM? Should we do not do that?

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]