projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d99393e
)
virtio: console: show error message if hvc_alloc fails for console ports
author
Amit Shah
<amit.shah@redhat.com>
Mon, 18 Jan 2010 11:05:23 +0000
(16:35 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:53:02 +0000
(14:23 +1030)
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c
patch
|
blob
|
history
diff --git
a/drivers/char/virtio_console.c
b/drivers/char/virtio_console.c
index 2a04daa9189ed60001920cef1d305622937b3c4a..a3f1f73bac3aae9f1e0950b5f5ea4372fbd471ac 100644
(file)
--- a/
drivers/char/virtio_console.c
+++ b/
drivers/char/virtio_console.c
@@
-753,6
+753,8
@@
int init_port_console(struct port *port)
port->cons.hvc = hvc_alloc(port->cons.vtermno, 0, &hv_ops, PAGE_SIZE);
if (IS_ERR(port->cons.hvc)) {
ret = PTR_ERR(port->cons.hvc);
+ dev_err(port->dev,
+ "error %d allocating hvc for port\n", ret);
port->cons.hvc = NULL;
return ret;
}