projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89a071b
)
[PATCH] nvidiafb: Fix bug in nvidiafb_pan_display
author
Antonino A. Daplas
<
[email protected]
>
Mon, 14 Nov 2005 00:06:34 +0000
(16:06 -0800)
committer
Linus Torvalds
<
[email protected]
>
Mon, 14 Nov 2005 02:14:11 +0000
(18:14 -0800)
nvidiafb_pan_display() is incorrectly using the fields in info->var instead
of var passed to the function.
Signed-off-by: Antonino Daplas <
[email protected]
>
Cc: Benjamin Herrenschmidt <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/nvidia/nvidia.c
patch
|
blob
|
history
diff --git
a/drivers/video/nvidia/nvidia.c
b/drivers/video/nvidia/nvidia.c
index 0b40a2a721c180609c15b16e82e3209b195a846e..bee09c6e48f61ce28224fa2282f6bd8f113f114a 100644
(file)
--- a/
drivers/video/nvidia/nvidia.c
+++ b/
drivers/video/nvidia/nvidia.c
@@
-1301,7
+1301,7
@@
static int nvidiafb_pan_display(struct fb_var_screeninfo *var,
struct nvidia_par *par = info->par;
u32 total;
- total =
info->var.yoffset * info->fix.line_length + info->var.
xoffset;
+ total =
var->yoffset * info->fix.line_length + var->
xoffset;
NVSetStartAddress(par, total);