diff options
author | Bastien Armand <armand.bastien@laposte.net> | 2014-04-23 19:42:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-23 20:33:56 +0900 |
commit | 6a4193a276f7c976487956c38789d5becc9256e5 (patch) | |
tree | 55942ee549a668ee647a432fb0342d5c463d04c8 /drivers/staging/panel/panel.c | |
parent | d901aaa723a7ea4601b0984534dde70adc81a38c (diff) |
staging: panel: fix regression in lcd_write
This patch fix a regression in lcd_write caused by commit
70a8c3eb8546cefe40fb0bc7991e8899b7b91075
Signed-off-by: Bastien Armand <armand.bastien@laposte.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/panel/panel.c')
-rw-r--r-- | drivers/staging/panel/panel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 136671a50d6..acd4b8e013d 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); |