public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c4f5d0
)
dragon-nx-32: make read/write lay buffers out the same
author
Alan Cox
<alan@linux.intel.com>
Fri, 23 Oct 2015 21:42:33 +0000
(22:42 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 23 Oct 2015 21:42:33 +0000
(22:42 +0100)
As suggested by Brett
Kernel/platform-dragon-nx32/devtty.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-dragon-nx32/devtty.c
b/Kernel/platform-dragon-nx32/devtty.c
index
1766f7f
..
37b5748
100644
(file)
--- a/
Kernel/platform-dragon-nx32/devtty.c
+++ b/
Kernel/platform-dragon-nx32/devtty.c
@@
-376,7
+376,7
@@
static int gfx_draw_op(uarg_t arg, char *ptr, uint8_t *buf)
return -EFAULT;
if (arg == GFXIOC_READ) {
video_read(buf);
- if (uput(buf
+ 8, ptr, l
))
+ if (uput(buf
, ptr, l + 8
))
return EFAULT;
return 0;
}