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-changelog

[Xen-changelog] [qemu-xen-unstable] Fix const-correctness in dma bitmap

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-unstable] Fix const-correctness in dma bitmap hex parser
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Thu, 18 Mar 2010 10:05:15 -0700
Delivery-date: Thu, 18 Mar 2010 10:05:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
commit 435718fb726b80462b4028128301dcf92214cc6a
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Thu Mar 18 16:48:03 2010 +0000

    Fix const-correctness in dma bitmap hex parser
    
    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index 30debd7..16de102 100644
--- a/vl.c
+++ b/vl.c
@@ -4716,7 +4716,7 @@ static int hex_legal(char a)
              (a >= 'A' && a <= 'F'));
 }
 
-static void vcpu_hex_str_to_bitmap(char *optarg)
+static void vcpu_hex_str_to_bitmap(const char *optarg)
 {
     char str[MAX_VCPU_STR_LEN + 1] = {'\0'};
     char *pstr;
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-unstable] Fix const-correctness in dma bitmap hex parser, Ian Jackson <=