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

2013-11-20 Thread Davidlohr Bueso
On Wed, 2013-11-20 at 08:18 +0100, Antti Miettinen wrote: > On 20.11.2013 02:04, Andrew Morton wrote: > > On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen > > wrote: > > > > > Use ARRAY_SIZE instead of sizeof to get proper max for label > > > length. > > > > > > Signed-off-by: Antti

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

2013-11-19 Thread Hiroshi Doyu
Antti Miettinen wrote @ Wed, 20 Nov 2013 08:18:50 +0100: > On 20.11.2013 02:04, Andrew Morton wrote: > > On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen > > wrote: > > > > > Use ARRAY_SIZE instead of sizeof to get proper max for label > > > length. > > > > > > Signed-off-by: Antti

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

2013-11-19 Thread Antti Miettinen
On 20.11.2013 02:04, Andrew Morton wrote: > On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen > wrote: > > > Use ARRAY_SIZE instead of sizeof to get proper max for label > > length. > > > > Signed-off-by: Antti P Miettinen > > Reviewed-by: Hiroshi Doyu > > Tested-by: Hiroshi Doyu

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

2013-11-19 Thread Davidlohr Bueso
On Fri, 2013-11-15 at 19:14 +0200, Antti P Miettinen wrote: > Use ARRAY_SIZE instead of sizeof to get proper max for label > length. > > Signed-off-by: Antti P Miettinen > Reviewed-by: Hiroshi Doyu > Tested-by: Hiroshi Doyu I haven't tested the patch, but using ARRAY_SIZE for fields defined as

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

2013-11-19 Thread Andrew Morton
On Fri, 15 Nov 2013 19:14:22 +0200 (EET) Antti P Miettinen wrote: > Use ARRAY_SIZE instead of sizeof to get proper max for label > length. > > Signed-off-by: Antti P Miettinen > Reviewed-by: Hiroshi Doyu > Tested-by: Hiroshi Doyu When fixing a bug, please provide a description of the user-v