[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150224183226.GK3420@pd.tnic>
Date: Tue, 24 Feb 2015 19:32:26 +0100
From: Borislav Petkov <bp@...en8.de>
To: Quentin Casasnovas <quentin.casasnovas@...cle.com>
Cc: X86 ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 04/13] x86/microcode/intel: Simplify
load_ucode_intel_bsp()
On Tue, Feb 24, 2015 at 05:21:51PM +0100, Quentin Casasnovas wrote:
> ... here `size = end - start + 1`, so basically the original size in
> `hdr.ramdisk_image` *plus one*, whereas the `size` you're passing around
> does not include it. I'm not saying it's wrong, quite the opposite I think
> you're fixing an off-by-one error present in the original code at the same
> time :)
I know, right :-)
I was scratching my head about it and if using the size directly is
wrong then something's genuinely b0rked with the design of this thing.
I'll correct the commit message.
Tanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists