Re: [PATCH] edac: fix buffer overrun if no suitable bandwidth found

From: Borislav Petkov
Date: Tue Oct 23 2012 - 16:49:22 EST


On Tue, Oct 23, 2012 at 01:37:09PM -0700, Andrew Morton wrote:
> This is still strange. What's the point in having the initial loop
> even consider the last element in the array if we know we'll be using
> it anyway?

You're right, yours is better.

Now you only need to give me a proper patch with your S-O-B and we're
ready to go :).

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/