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

xen-devel

[Top] [All Lists]

[Xen-devel] [PATCH] [ACM] Explicitly cast byte arrays when used in copy_

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [ACM] Explicitly cast byte arrays when used in copy_from_guest
From: Stefan Berger <stefanb@xxxxxxxxxx>
Date: 2007年8月06日 17:37:56 -0400
Cc: Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: 2007年8月06日 14:27:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Explicitly cast the target array type to an array of 'u8' since the
number of bytes copied is calculated from the type of element in the
target array times the number of elements (3rd parameter).
Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxx>

Attachment: copy_from_guest_cast.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [ACM] Explicitly cast byte arrays when used in copy_from_guest, Stefan Berger <=
Previous by Date: [Xen-devel] console questions , Aron Griffis
Next by Date: Re: [Xen-devel] [PATCH] Fix xm block/network-detach command , Jim Fehlig
Previous by Thread: [Xen-devel] console questions , Aron Griffis
Next by Thread: [Xen-devel] [2.6.23-rc2] no Xen for x86_64? , Sven Köhler
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /