|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] linux: pci/guestdev: cleanup 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
functions.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- a/drivers/pci/guestdev.c
+++ b/drivers/pci/guestdev.c
@@ -81,8 +81,8 @@ struct pcidev_sbdf_node {
static int reassign_resources = 0;
-static char guestdev_param[COMMAND_LINE_SIZE];
-LIST_HEAD(guestdev_list);
+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)
xenlinux-pci-guestdev-decls.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] linux: pci/guestdev: cleanup data definitions,
Jan Beulich <=
|
|
|
|
|