diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-10-17 09:39:10 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-10-19 15:17:51 -0400 |
commit | 37ea0fcb6a3f3318bf45888e624722a2945cec04 (patch) | |
tree | b057c720efeff8ceb7d89f71031cef54c0db5fcc /include/xen | |
parent | 609b0b8c4608d59be261dde748f1ff1eccd748ba (diff) | |
download | op-kernel-dev-37ea0fcb6a3f3318bf45888e624722a2945cec04.zip op-kernel-dev-37ea0fcb6a3f3318bf45888e624722a2945cec04.tar.gz |
xen: sysfs: fix build warning.
Define PRI macros for xen_ulong_t and xen_pfn_t and use to fix:
drivers/xen/sys-hypervisor.c:288:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'xen_ulong_t' [-Wformat]
Ideally this would use PRIx64 on ARM but these (or equivalent) don't
seem to be available in the kernel.
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions