Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
tty
/
hvc
/
hvc_tile.c
diff --git
a/kernel/drivers/tty/hvc/hvc_tile.c
b/kernel/drivers/tty/hvc/hvc_tile.c
index
3f6cd31
..
9da1e84
100644
(file)
--- a/
kernel/drivers/tty/hvc/hvc_tile.c
+++ b/
kernel/drivers/tty/hvc/hvc_tile.c
@@
-51,7
+51,8
@@
int tile_console_write(const char *buf, int count)
_SIM_CONTROL_OPERATOR_BITS));
return 0;
} else {
- return hv_console_write((HV_VirtAddr)buf, count);
+ /* Translate 0 bytes written to EAGAIN for hvc_console_print. */
+ return hv_console_write((HV_VirtAddr)buf, count) ?: -EAGAIN;
}
}