* [PATCH] staging: panel: fix regression in lcd_write
@ 2014-04-23 17:42 Bastien Armand
0 siblings, 0 replies; only message in thread
From: Bastien Armand @ 2014-04-23 17:42 UTC (permalink / raw)
To: Willy Tarreau, Greg Kroah-Hartman, Monam Agarwal, Dan Carpenter,
Julia Lawall, Jake Champlin, Arnd Bergmann
Cc: devel, linux-kernel
This patch fix a regression in lcd_write caused by commit
70a8c3eb8546cefe40fb0bc7991e8899b7b91075
Signed-off-by: Bastien Armand <armand.bastien@laposte.net>
---
drivers/staging/panel/panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c
index 136671a..acd4b8e 100644
--- a/drivers/staging/panel/panel.c
+++ b/drivers/staging/panel/panel.c
@@ -1324,7 +1324,7 @@ static ssize_t lcd_write(struct file *file,
that need some CPU */
schedule();
- if (get_user(c, buf))
+ if (get_user(c, tmp))
return -EFAULT;
lcd_write_char(c);
--
1.8.5.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-23 17:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-23 17:42 [PATCH] staging: panel: fix regression in lcd_write Bastien Armand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome