Commit 3a4a61e2 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] gcc-3.5: radeon

drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture':
drivers/char/drm/radeon_state.c:1411: error: invalid lvalue in assignment
parent 927b9ea4
...@@ -1221,7 +1221,7 @@ static int radeon_cp_dispatch_texture( DRMFILE filp, ...@@ -1221,7 +1221,7 @@ static int radeon_cp_dispatch_texture( DRMFILE filp,
/* Update the input parameters for next time */ /* Update the input parameters for next time */
image->y += height; image->y += height;
image->height -= height; image->height -= height;
(const u8 *)image->data += size; image->data = (const u8 *)image->data + size;
} while (image->height > 0); } while (image->height > 0);
/* Flush the pixel cache after the blit completes. This ensures /* Flush the pixel cache after the blit completes. This ensures
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment