2013-06-17 08:29:44

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the ceph tree

Hi Sage,

After merging the ceph tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/block/rbd.c: In function 'rbd_release':
drivers/block/rbd.c:510:2: warning: 'return' with a value, in function returning void [enabled by default]
return 0;
^

Caused by commit f28d6bf9ef4d ("Merge remote-tracking branch
'linus/master' into testing").

--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (444.00 B)
(No filename) (836.00 B)
Download all attachments

2013-06-17 16:13:45

by Sage Weil

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the ceph tree

<facepalm>, fixed. Thanks!

sage

On Mon, 17 Jun 2013, Stephen Rothwell wrote:

> Hi Sage,
>
> After merging the ceph tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/block/rbd.c: In function 'rbd_release':
> drivers/block/rbd.c:510:2: warning: 'return' with a value, in function returning void [enabled by default]
> return 0;
> ^
>
> Caused by commit f28d6bf9ef4d ("Merge remote-tracking branch
> 'linus/master' into testing").
>
> --
> Cheers,
> Stephen Rothwell [email protected]
>