Re: [PATCH] ARM: Fix rd_size declaration

2017-06-26 Thread Russell King - ARM Linux
On Wed, Jun 21, 2017 at 08:26:07PM +, Bart Van Assche wrote: > On Wed, 2017-05-03 at 12:46 -0700, Bart Van Assche wrote: > > The global variable 'rd_size' is declared as 'int' in source file > > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > > drivers/block/brd.c. Fix this inconsiste

Re: [PATCH] ARM: Fix rd_size declaration

2017-06-21 Thread Bart Van Assche
On Wed, 2017-05-03 at 12:46 -0700, Bart Van Assche wrote: > The global variable 'rd_size' is declared as 'int' in source file > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > drivers/block/brd.c. Fix this inconsistency. Additionally, remove > the declarations of rd_image_start, rd_prompt

Re: [PATCH] ARM: Fix rd_size declaration

2017-05-03 Thread Bart Van Assche
On Wed, 2017-05-03 at 12:46 -0700, Bart Van Assche wrote: > The global variable 'rd_size' is declared as 'int' in source file > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > drivers/block/brd.c. Fix this inconsistency. Additionally, remove > the declarations of rd_image_start, rd_prompt

[PATCH] ARM: Fix rd_size declaration

2017-05-03 Thread Bart Van Assche
The global variable 'rd_size' is declared as 'int' in source file arch/arm/kernel/atags_parse.c and as 'unsigned long' in drivers/block/brd.c. Fix this inconsistency. Additionally, remove the declarations of rd_image_start, rd_prompt and rd_doload from parse_tag_ramdisk() since these duplicate exis

Re: [PATCH] ARM: Fix rd_size declaration

2017-05-03 Thread Bart Van Assche
On Wed, 2017-05-03 at 20:25 +0100, Russell King - ARM Linux wrote: > There were comments on the patch which seemed to be unresolved. Do you mean the header guard? That's easy to resolve. > However, it would be nice if rd_size could go with some other related > declarations somewhere (if there are

Re: [PATCH] ARM: Fix rd_size declaration

2017-05-03 Thread Russell King - ARM Linux
On Wed, Apr 26, 2017 at 08:51:35PM +, Bart Van Assche wrote: > On Mon, 2017-04-17 at 16:10 -0700, Bart Van Assche wrote: > > The global variable 'rd_size' is declared as 'int' in source file > > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > > drivers/block/brd.c. Fix this inconsiste

Re: [PATCH] ARM: Fix rd_size declaration

2017-04-26 Thread Bart Van Assche
On Mon, 2017-04-17 at 16:10 -0700, Bart Van Assche wrote: > The global variable 'rd_size' is declared as 'int' in source file > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > drivers/block/brd.c. Fix this inconsistency. > [ ... ] Hello Russell, Have I sent this patch to the right maint

Re: [PATCH] ARM: Fix rd_size declaration

2017-04-18 Thread Johannes Thumshirn
On Tue, Apr 18, 2017 at 02:07:53PM +, Bart Van Assche wrote: > Hello Johannes, > > Thanks for the review. But are you aware that with the current content an > include guard is overkill because it is safe to evaluate the "extern unsigned > long rd_size" declaration multiple times? Yes I am. Bu

Re: [PATCH] ARM: Fix rd_size declaration

2017-04-18 Thread Bart Van Assche
On Tue, 2017-04-18 at 09:35 +0200, Johannes Thumshirn wrote: > On Mon, Apr 17, 2017 at 04:10:03PM -0700, Bart Van Assche wrote: > > The global variable 'rd_size' is declared as 'int' in source file > > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > > drivers/block/brd.c. Fix this inconsi

Re: [PATCH] ARM: Fix rd_size declaration

2017-04-18 Thread Johannes Thumshirn
On Mon, Apr 17, 2017 at 04:10:03PM -0700, Bart Van Assche wrote: > The global variable 'rd_size' is declared as 'int' in source file > arch/arm/kernel/atags_parse.c and as 'unsigned long' in > drivers/block/brd.c. Fix this inconsistency. > > Signed-off-by: Bart Van Assche > Cc: Russell King > Cc

[PATCH] ARM: Fix rd_size declaration

2017-04-17 Thread Bart Van Assche
The global variable 'rd_size' is declared as 'int' in source file arch/arm/kernel/atags_parse.c and as 'unsigned long' in drivers/block/brd.c. Fix this inconsistency. Signed-off-by: Bart Van Assche Cc: Russell King Cc: Jens Axboe Cc: Jan Kara Cc: Cc: Cc: Cc: linux-arm-ker...@lists.infradead