grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2] msr: Rearrange return values.


From: Daniel Kiper
Subject: Re: [PATCH v2] msr: Rearrange return values.
Date: Wed, 27 Mar 2019 12:34:48 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Tue, Mar 26, 2019 at 06:42:01PM -0600, Eric Snowberg wrote:
> > On Mar 26, 2019, at 5:40 AM, Daniel Kiper <address@hidden> wrote:
> > On Tue, Mar 26, 2019 at 12:30:51PM +0100, Daniel Kiper wrote:
> >> CC-ing Eric.
> >>
> >> On Mon, Mar 25, 2019 at 07:37:29PM +0100, Jesús Diéguez Fernández wrote:
> >>> Rearrange return values in the function declaration of rdmsr.h and 
> >>> wrmsr.h.
> >>
> >> The most important thing here is extern drop. By the way we do cleanup.
> >> Anyway, I can fix the commit message before push if you do not object.
> >> So, Reviewed-by: Daniel Kiper <address@hidden>
> >
> > Err... Forgot to CC Eric. So, again this time with Eric address.
> > Eric, could you test this patch?
> >
>
> The V1 patch compiles and builds fine.
>
> I see compile errors with the V2 patch on OL7.6:
>
> In file included from commands/i386/rdmsr.c:29:0:
> ../include/grub/i386/rdmsr.h:28:1: error: no previous prototype for 
> _grub_msr_read_ [-Werror=missing-prototypes]
>  grub_msr_read (grub_uint32_t msr_id)
>  ^
> In file included from commands/i386/wrmsr.c:29:0:
> ../include/grub/i386/wrmsr.h:28:1: error: no previous prototype for 
> _grub_msr_write_ [-Werror=missing-prototypes]
>  grub_msr_write (grub_uint32_t msr_id, grub_uint64_t msr_value)
>  ^
> cc1: all warnings being treated as errors
> cc1: all warnings being treated as errors

Hmmm... That looks strange. Will take closer look at it.

Daniel



reply via email to

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