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] linux c/s 437

To: <y-iwamatsu@xxxxxxxxxxxxx>
Subject: [Xen-devel] linux c/s 437
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: 2008年3月10日 15:16:36 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年3月10日 08:16:22 -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
This changeset added pcifront_{at,de}tach_devices() to
drivers/xen/pcifront/xenbus.c, the two functions, however, return
inconsistent/bogus return values, but their only caller doesn't care:
Depending on the compiler version, the case of
pcifront_detach_devices() leaving 'err' uninitialized may get warned
about, and pcifront_attach_devices() would return -EFAULT if called
in the wrong state.
However, given the return values aren't used I'm really uncertain
whether to just make the functions return 'void' or whether to fix the
error values. Please advise.
Thanks, Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH]: Add "Warning" to the time went backwards messages , Chris Lalancette
Next by Date: Re: [Xen-devel][RFC] Dynamic modes support for PV xenfb (included) , Samuel Thibault
Previous by Thread: [Xen-devel] [PATCH]: Add "Warning" to the time went backwards messages , Chris Lalancette
Next by Thread: [Xen-devel] Re: linux c/s 437 , Yosuke Iwamatsu
Indexes: [Date] [Thread] [Top] [All Lists]

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

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