ARM: fix rd_size declaration
authorBart Van Assche <[email protected]>
Mon, 10 Jul 2017 22:51:10 +0000 (15:51 -0700)
committerLinus Torvalds <[email protected]>
Mon, 10 Jul 2017 23:32:34 +0000 (16:32 -0700)
commit287f3ca563d8ba0ede4ac0cec84218a1ea5e848f
treea7d7292c24bc3902eaee800bd39559ecc25d81a9
parentbc6245e5efd70c41eaf9334b1b5e646745cb0fb3
ARM: fix rd_size declaration

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

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Russell King <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Jason Yan <[email protected]>
Cc: Zhaohongjiang <[email protected]>
Cc: Miao Xie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm/kernel/atags_parse.c
drivers/block/brd.c
include/linux/initrd.h