WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Remus: fix a warning

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Remus: fix a warning
From: "KUWAMURA Shin'ya" <kuwa@xxxxxxxxxxxxxx>
Date: Fri, 20 Nov 2009 14:42:35 +0900 (JST)
Delivery-date: Thu, 19 Nov 2009 21:43:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

This patch fixes the following warning:
  xen/lowlevel/checkpoint/libcheckpoint.c: In function `delete_suspend_timer':
  xen/lowlevel/checkpoint/libcheckpoint.c:352: warning: assignment makes 
integer from pointer without a cast

Best regards,
-- 
  KUWAMURA Shin'ya
# HG changeset patch
# User KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>
# Date 1258695503 -32400
# Node ID c6165766851152fbb05c2c6ac3d0489a981813bf
# Parent  36a841785e3b8b3a8b4d067049bba6db1f4e9020
Remus: fix a warning

This patch fixes the following warning:
  xen/lowlevel/checkpoint/libcheckpoint.c: In function `delete_suspend_timer':
  xen/lowlevel/checkpoint/libcheckpoint.c:352: warning: assignment makes 
integer from pointer without a cast

Signed-off-by: KUWAMURA Shin'ya <kuwa@xxxxxxxxxxxxxx>

diff -r 36a841785e3b -r c61657668511 
tools/python/xen/lowlevel/checkpoint/libcheckpoint.c
--- a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c      Thu Nov 19 
11:31:44 2009 +0900
+++ b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c      Fri Nov 20 
14:38:23 2009 +0900
@@ -349,7 +349,7 @@
   if (s->timer) {
     if ((rc = timer_delete(s->timer)))
       fprintf(stderr, "Error deleting timer: %s\n", strerror(errno));
-    s->timer = NULL;
+    s->timer = 0;
   }
 
   return rc;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Remus: fix a warning, KUWAMURA Shin'ya <=