# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID bfcdf4099d232bd6668436621581c328a6afcf09
# Parent b21261034a25dc5db5e746387f7c0dd51e6526dc
fixes some compiler warnings due to new types used in
the xenbus.
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>
diff -r b21261034a25 -r bfcdf4099d23
linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c Thu Jan 12 13:27:20 2006
+++ b/linux-2.6-xen-sparse/drivers/xen/tpmback/xenbus.c Thu Jan 12 13:27:55 2006
@@ -89,7 +89,7 @@
goto fail;
}
- err = xenbus_switch_state(dev, NULL, XenbusStateInitWait);
+ err = xenbus_switch_state(dev, XBT_NULL, XenbusStateInitWait);
if (err) {
goto fail;
}
@@ -109,7 +109,7 @@
= container_of(watch, struct backend_info, backend_watch);
struct xenbus_device *dev = be->dev;
- err = xenbus_scanf(NULL, dev->nodename,
+ err = xenbus_scanf(XBT_NULL, dev->nodename,
"instance","%li", &instance);
if (XENBUS_EXIST_ERR(err)) {
return;
@@ -177,7 +177,7 @@
break;
case XenbusStateClosing:
- xenbus_switch_state(dev, NULL, XenbusStateClosing);
+ xenbus_switch_state(dev, XBT_NULL, XenbusStateClosing);
break;
case XenbusStateClosed:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|