Re: [PATCH] fs: partitions: efi: Fix bound check

From: Andrew Morton
Date: Tue Nov 19 2013 - 19:04:46 EST


On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen <amiettinen@xxxxxxxxxx> wrote:

> Use ARRAY_SIZE instead of sizeof to get proper max for label
> length.
>
> Signed-off-by: Antti P Miettinen <amiettinen@xxxxxxxxxx>
> Reviewed-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx>
> Tested-by: Hiroshi Doyu <hdoyu@xxxxxxxxxx>

When fixing a bug, please provide a description of the user-visible
impact of that bug. This is so that others can decide which kernel
version(s) need the patch.

Hiroshi Doyu tested this patch, so I assume there was some observable
misbehaviour to test. Please fully describe that.

--
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/