projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
464bdd3
)
fbdev: fix obvious bug in show_pan()
author
Antonino A. Daplas
<adaplas@gmail.com>
Tue, 8 May 2007 07:37:30 +0000
(
00:37
-0700)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:26 +0000
(11:15 -0700)
show_pan will display the value of the xoffset twice, instead of the xoffset
and yoffset. Fix.
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbsysfs.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbsysfs.c
b/drivers/video/fbsysfs.c
index 40c80c8190e2f744dfc43e3f99fb08189a0c303e..d4a2c11d980975be84131abd3a94670a1e2f7c98 100644
(file)
--- a/
drivers/video/fbsysfs.c
+++ b/
drivers/video/fbsysfs.c
@@
-376,7
+376,7
@@
static ssize_t show_pan(struct device *device,
{
struct fb_info *fb_info = dev_get_drvdata(device);
return snprintf(buf, PAGE_SIZE, "%d,%d\n", fb_info->var.xoffset,
- fb_info->var.
x
offset);
+ fb_info->var.
y
offset);
}
static ssize_t show_name(struct device *device,