From: Konrad Rzeszutek Wilk Date: Tue, 17 Apr 2012 01:55:04 +0000 (-0400) Subject: xen/blkback: Fix warning error. X-Git-Tag: v3.4-rc4~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a71e23d9925517e609dfcb72b5874f33cdb0d2ad;p=pandora-kernel.git xen/blkback: Fix warning error. 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' It is unclear how that mistake made it in. It surely is wrong. Acked-by: Jens Axboe Reported-by: Stephen Rothwell Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed