Re: 2.6.27-rc5 xen balloon driver warnings
From: Jeremy Fitzhardinge
Date: Mon Sep 08 2008 - 12:54:59 EST
Rambaldi wrote:
> I used the complete patch, I had some compile warnings.
Well, the compile warning are bad news. Just use the first hunk.
Ingo, could you send this up to Linus? It's a subset of a patch you've
already got in your tree.
Thanks,
J
Subject: xen-balloon: fix balloon sysfs name
Set the class so it doesn't clash with the normal memory class.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
===================================================================
--- a/drivers/xen/balloon.c
+++ b/drivers/xen/balloon.c
@@ -60,7 +60,7 @@
#define PAGES2KB(_p) ((_p)<<(PAGE_SHIFT-10))
-#define BALLOON_CLASS_NAME "memory"
+#define BALLOON_CLASS_NAME "xen_memory"
struct balloon_stats {
/* We aim for 'current allocation' == 'target allocation'. */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/