]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen-swiotlb: fix printk and panic args
authorRandy Dunlap <rdunlap@xenotime.net>
Thu, 11 Aug 2011 20:57:07 +0000 (13:57 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Dec 2012 17:32:52 +0000 (12:32 -0500)
commitd2d8e179dc83a3fa89942627da1cd84e85d8a681
tree19e64f9c3cd195f49084e17a88f0cb4f3e959f0e
parent7a8eda521674c50f73ffe477be86f11e3bea4080
xen-swiotlb: fix printk and panic args

Fix printk() and panic() args [swap them] to fix build warnings:

drivers/xen/swiotlb-xen.c:201: warning: format '%s' expects type 'char *', but argument 2 has type 'int'
drivers/xen/swiotlb-xen.c:201: warning: format '%d' expects type 'int', but argument 3 has type 'char *'
drivers/xen/swiotlb-xen.c:202: warning: format '%s' expects type 'char *', but argument 2 has type 'int'
drivers/xen/swiotlb-xen.c:202: warning: format '%d' expects type 'int', but argument 3 has type 'char *'

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
(cherry picked from commit 61ca79831ce52c23b3a130f3c2351751e00e0ac9)
drivers/xen/swiotlb-xen.c