Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1512000
| From | Jens Axboe <axboe@kernel.dk> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -next] brd: make symbol rd_size static |
| Date | 2016-10-30 05:00 +0100 |
| Message-ID | <sxPrP-7FZ-1@gated-at.bofh.it> (permalink) |
| References | <sxEwp-pd-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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;
[...]
--
Jens Axboe
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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