[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8c13474-d035-7e03-1eee-a0ccf7a5c799@kernel.dk>
Date: Sat, 29 Oct 2016 21:57:39 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Wei Yongjun <weiyj.lk@...il.com>, Jan Kara <jack@...e.cz>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] brd: make symbol rd_size static
On 10/29/2016 10:10 AM, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1@...wei.com>
>
> Fixes the following sparse warning:
>
> drivers/block/brd.c:411:15: warning:
> symbol 'rd_size' was not declared. Should it be static?
We just tried this, it's used in arm:
arch/arm/kernel/atags_parse.c
static int __init parse_tag_ramdisk(const struct tag *tag)
{
extern int rd_size, rd_image_start, rd_prompt, rd_doload;
[...]
--
Jens Axboe
Powered by blists - more mailing lists