Messages in this thread | | | Date | Tue, 17 Apr 2012 10:44:30 +1000 | From | Stephen Rothwell <> | Subject | linux-next: build warning in Linus' tree |
| |
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 ...
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au [unhandled content-type:application/pgp-signature] | |