[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0a1d6cbb-6797-e295-0d9c-7e814c1ebb21@gmail.com>
Date: Sun, 30 Oct 2016 20:40:12 +0800
From: Wei Yongjun <weiyj.lk@...il.com>
To: Jens Axboe <axboe@...nel.dk>, 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/30/2016 11:57 AM, Jens Axboe wrote:
> 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;
> [...]
>
Oh, yeah, got it.
Thank you very much.
Regards,
Yongjun Wei
Powered by blists - more mailing lists