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-ia64-devel

[Xen-ia64-devel] Fix a missing return value check.

To: "xen-ia64-devel@xxxxxxxxxxxxxxxxxxx" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Fix a missing return value check.
From: "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Date: Thu, 26 Mar 2009 14:12:02 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Wed, 25 Mar 2009 23:13:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acmt2ce/f1xK6XkWQk+wM6PdSnZ+oA==
Thread-topic: Fix a missing return value check.
Fixed the missing return value check.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>

diff -r b432c632ebe8 xen/arch/ia64/linux-xen/irq_ia64.c
--- a/xen/arch/ia64/linux-xen/irq_ia64.c        Fri Feb 13 19:11:38 2009 +0900
+++ b/xen/arch/ia64/linux-xen/irq_ia64.c        Thu Mar 26 14:04:41 2009 +0800
@@ -295,7 +295,7 @@ int request_irq_vector(unsigned int vect
        action->handler = handler;
        action->name = devname;
        action->dev_id = dev_id;
-       setup_vector(vector, action);
+       retval = setup_vector(vector, action);
        if (retval)
                xfree(action);
 

Attachment: check_ret_value_for_setup_vector.patch
Description: check_ret_value_for_setup_vector.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>