Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293987
b: refs/heads/master
c: 42c46e6
h: refs/heads/master
i:
  293985: c62d724
  293983: 3633f76
v: v3
  • Loading branch information
Stefano Stabellini authored and Konrad Rzeszutek Wilk committed Mar 13, 2012
1 parent f4ec9f8 commit aca2f73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf8e019b523a8caa95b56ff0ce62a4856b14395f
refs/heads/master: 42c46e6ba5461fcab289bf4a1b7160f94c10aa28
6 changes: 6 additions & 0 deletions trunk/drivers/xen/xenbus/xenbus_probe_frontend.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ static int xenbus_probe_frontend(struct xen_bus_type *bus, const char *type,
char *nodename;
int err;

/* ignore console/0 */
if (!strncmp(type, "console", 7) && !strncmp(name, "0", 1)) {
DPRINTK("Ignoring buggy device entry console/0");
return 0;
}

nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, name);
if (!nodename)
return -ENOMEM;
Expand Down

0 comments on commit aca2f73

Please sign in to comment.