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

Re: [Xen-devel][PATCH] Fix the return value of blkdev_name_to_number

To: "Xu, Dongxiao" <dongxiao.xu@xxxxxxxxx>
Subject: Re: [Xen-devel][PATCH] Fix the return value of blkdev_name_to_number
From: "YuLin @ wr" <yulin724@xxxxxxxxx>
Date: Mon, 30 Jun 2008 20:49:11 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 30 Jun 2008 05:49:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=tk+DiWk/zpaEos0EKdSV4ChcOhVNNqhXlAdZqxgtJcI=; b=W45ZVH+J+B587kLQ6EncyQ4ugVi6lmE3aBzjOcM2skSa4DPGAJDuLwqOIaRaVsqBdQ 947GxGR7EycQDvYLE33+vY3Zf39IRoB0XrDQrgcm8Tt3ARoWKkDCSY9VchCjpALESPjt OJYXb4EsTJ92vkb2HUv6OJHxL7UezppyWMzbA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=La5UVb5aQaNoArOrcpKWzqLotdFCpgMoaNIgQSSSEXCi+8052BPOpPvWKhv6SCRA+f bTQzqr/meQ65IRC2ZSDZPVbZ+xPHRH0eFT11RtkanvFZ/JNMelApFr8Je5dYf6qioPYf O+/ndYjT25uZWbPYZ5la+WoohHowciy8ZXiOc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FF386CB4AE0E4648B0A96060EC00F36CBC6847@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <FF386CB4AE0E4648B0A96060EC00F36CBC6847@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,

Maybe you should list the position where there is a problem of "unpack non-sequence" about blkdev_name_to_number
I only found some usages of blkdev_name_to_number which only accept one return value, and the left value is not a tuple apparently.

Best Regards,
-- YuLin

On Mon, Jun 30, 2008 at 5:13 PM, Xu, Dongxiao <dongxiao.xu@xxxxxxxxx> wrote:
Fix the return value of blkdev_name_to_number().
 - Function blkdev_name_to_number() should return both devname and
devnum,
otherwise it may cause "unpack non-sequence" error.

Signed-off-by: Dongxiao Xu <dongxiao.xu@xxxxxxxxx>

Best Regards,
-- Dongxiao


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




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