[PATCH] ARM: Fix rd_size declaration
From: Johannes Thumshirn <hidden>
Date: 2017-04-18 07:35:26
Also in:
linux-block
On Mon, Apr 17, 2017 at 04:10:03PM -0700, Bart Van Assche wrote:
quoted hunk ↗ jump to hunk
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 <redacted> Cc: Russell King <linux@armlinux.org.uk> Cc: Jens Axboe <axboe@kernel.dk> Cc: Jan Kara <jack@suse.cz> Cc: <yanaijie@huawei.com> Cc: <redacted> Cc: <redacted> Cc: linux-arm-kernel at lists.infradead.org Cc: linux-block at vger.kernel.org ---diff --git a/include/linux/brd.h b/include/linux/brd.h new file mode 100644 index 000000000000..dbb0f92fefc8 --- /dev/null +++ b/include/linux/brd.h@@ -0,0 +1 @@ +extern unsigned long rd_size;
Small nit, can you add an include guard here as well? Thanks, Johannes -- Johannes Thumshirn Storage jthumshirn at suse.de +49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N?rnberg GF: Felix Imend?rffer, Jane Smithard, Graham Norton HRB 21284 (AG N?rnberg) Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850