Re: [PATCH 1/6] x86: fix duplicated X86_BUG(9) macro

From: Borislav Petkov
Date: Fri Jul 01 2016 - 12:47:08 EST


On Fri, Jul 01, 2016 at 09:30:37AM -0700, Andy Lutomirski wrote:
> I put the ifdef there to prevent anyone from accidentally using it in
> a 64-bit code path, not to save a bit. We could put in the middle of
> the list to make the mistake much less likely to be repeated, I
> suppose.

Well, if someone does, someone will notice pretty soon, no?

I just don't see the reason to worry but maybe I'm missing it.

And we can call it X86_BUG_ESPFIX_X86_32 or so too...

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.