The patch titled
tgafb: fix copying overlapping areas
has been removed from the -mm tree. Its filename was
tgafb-fix-copying-overlapping-areas.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
Subject: tgafb: fix copying overlapping areas
From: "Maciej W. Rozycki" <[EMAIL PROTECTED]>
The direction of copying in the copyarea functions is selected incorrectly,
resulting in corruption. This is a fix.
Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]>
Cc: James Simmons <[EMAIL PROTECTED]>
Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
drivers/video/tgafb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN drivers/video/tgafb.c~tgafb-fix-copying-overlapping-areas
drivers/video/tgafb.c
--- a/drivers/video/tgafb.c~tgafb-fix-copying-overlapping-areas
+++ a/drivers/video/tgafb.c
@@ -885,7 +885,7 @@ copyarea_line_8bpp(struct fb_info *info,
n64 = (height * width) / 64;
- if (dy < sy) {
+ if (sy < dy) {
spos = (sy + height) * width;
dpos = (dy + height) * width;
@@ -933,7 +933,7 @@ copyarea_line_32bpp(struct fb_info *info
n16 = (height * width) / 16;
- if (dy < sy) {
+ if (sy < dy) {
src = tga_fb + (sy + height) * width * 4;
dst = tga_fb + (dy + height) * width * 4;
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
origin.patch
aio-use-flush_work.patch
kblockd-use-flush_work.patch
relayfs-use-flush_keventd_work.patch
tg3-use-flush_keventd_work.patch
e1000-use-flush_keventd_work.patch
libata-use-flush_work.patch
phy-use-flush_work.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html