[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120417014503.GA1151@phenom.dumpdata.com>
Date: Mon, 16 Apr 2012 21:45:03 -0400
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: linux-next: build warning in Linus' tree
On Tue, Apr 17, 2012 at 10:44:30AM +1000, Stephen Rothwell wrote:
> Hi Konrad,
>
> Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/block/xen-blkback/xenbus.c: In function 'xen_blkbk_discard':
> drivers/block/xen-blkback/xenbus.c:419:4: warning: passing argument 1 of 'dev_warn' makes pointer from integer without a cast [enabled by default]
> include/linux/device.h:894:5: note: expected 'const struct device *' but argument is of type 'long int'
>
> Introduced by commit 3389bb8bf761 ("xen/blkback: Make optional features
> be really optional"). Passing "dev-dev" to dev_warn() was hopefully not
> intended ...
No it was not. Not even sure how that mistake passed my compile test.
>
> --
> Cheers,
> Stephen Rothwell sfr@...b.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists