[lkml]   [2016]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -next] brd: make symbol rd_size static
On 10/29/2016 10:10 AM, Wei Yongjun wrote:
> From: Wei Yongjun <>
> 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:


static int __init parse_tag_ramdisk(const struct tag *tag)
extern int rd_size, rd_image_start, rd_prompt, rd_doload;

Jens Axboe

 \ /
  Last update: 2016-10-30 04:57    [W:0.034 / U:2.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site