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/
Home Products Support Community News


[Xen-changelog] [linux-2.6.18-xen] pci/guestdev: clean up data definitio

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] pci/guestdev: clean up data definitions
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Jul 2010 04:51:16 -0700
Delivery-date: Fri, 09 Jul 2010 04:54:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1278675448 -3600
# Node ID 85ca9742b8b9f49d8371c6ce305b0cdeff4f341e
# Parent  c977b4bfc8543a12edcc3faab7bbc9d240d8c87a
pci/guestdev: clean up data definitions

Keep a local variable from polluting the global namespace, and move
another one into .init.data since it's only being used by __init

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
 drivers/pci/guestdev.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c977b4bfc854 -r 85ca9742b8b9 drivers/pci/guestdev.c
--- a/drivers/pci/guestdev.c    Fri Jul 09 12:37:02 2010 +0100
+++ b/drivers/pci/guestdev.c    Fri Jul 09 12:37:28 2010 +0100
@@ -83,8 +83,8 @@ struct pcidev_sbdf_node {
 static int reassign_resources = 0;
-static char guestdev_param[COMMAND_LINE_SIZE];
+static char __initdata guestdev_param[COMMAND_LINE_SIZE];
+static LIST_HEAD(guestdev_list);
 /* Get hid and uid */
 static int __init pci_get_hid_uid(char *str, char *hid, char *uid)

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] pci/guestdev: clean up data definitions, Xen patchbot-linux-2.6.18-xen <=