Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1512055

Re: [PATCH -next] brd: make symbol rd_size static

From Wei Yongjun <weiyj.lk@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH -next] brd: make symbol rd_size static
Date 2016-10-30 13:50 +0100
Message-ID <sxXIK-4Ik-5@gated-at.bofh.it> (permalink)
References <sxEwp-pd-1@gated-at.bofh.it> <sxPrP-7FZ-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 10/30/2016 11:57 AM, Jens Axboe wrote:
> On 10/29/2016 10:10 AM, Wei Yongjun wrote:
>> From: Wei Yongjun <weiyongjun1@huawei.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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH -next] brd: make symbol rd_size static Wei Yongjun <weiyj.lk@gmail.com> - 2016-10-29 18:20 +0200
  Re: [PATCH -next] brd: make symbol rd_size static Jens Axboe <axboe@kernel.dk> - 2016-10-30 05:00 +0100
    Re: [PATCH -next] brd: make symbol rd_size static Wei Yongjun <weiyj.lk@gmail.com> - 2016-10-30 13:50 +0100
  Re: [PATCH -next] brd: make symbol rd_size static Jan Kara <jack@suse.cz> - 2016-10-30 10:50 +0100

csiph-web