[PATCH] ARM: Fix rd_size declaration
From: Bart Van Assche <hidden>
Date: 2017-05-03 19:48:44
Also in:
linux-block
From: Bart Van Assche <hidden>
Date: 2017-05-03 19:48:44
Also in:
linux-block
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 and rd_doload from parse_tag_ramdisk() since these duplicate existing declarations in <linux/initrd.h>.
This is version 2 of the patch for removing the rd_size declaration. Compared to v1, the new header file <linux/brd.h> has been dropped. Bart.