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

[Xen-devel] use spaces instead of tabs for indentation in xm_pci_attach(

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] use spaces instead of tabs for indentation in xm_pci_attach()
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Wed, 15 Jul 2009 09:27:51 +1000
Cc: Keir Frazier <Keir.Fraser@xxxxxxxxxxxxx>, Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Jul 2009 16:28:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
Changeset "xend: pass-through: Implement least-mapping of virtual functions"
(19854:22067ba1de0d) inadvertently introduced some tab indentation.

Cc: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Signed-off-by: Simon Horman <horms@xxxxxxxxxxxx>

diff -r c0cb307d927f tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Mon Jul 13 12:35:34 2009 +0100
+++ b/tools/python/xen/xm/main.py       Wed Jul 15 09:24:41 2009 +1000
@@ -2561,7 +2561,7 @@
             vslot = PCI_SLOT(vdevfn)
             for i in dev:
                 i['vslot'] = '0x%02x' % \
-                            PCI_DEVFN(vslot, PCI_FUNC(int(i['vslot'], 16)))
+                     PCI_DEVFN(vslot, PCI_FUNC(int(i['vslot'], 16)))
 
     for i in dev:
         xm_pci_attach_one(dom, i)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] use spaces instead of tabs for indentation in xm_pci_attach(), Simon Horman <=