summaryrefslogtreecommitdiff
path: root/linux/r128_context.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@users.sourceforge.net>2000-12-23 06:47:58 +0000
committerGareth Hughes <gareth@users.sourceforge.net>2000-12-23 06:47:58 +0000
commit3b89d5aaa53ddec0047d57631a12e236f9e7dec1 (patch)
tree6fbe07671b41044efb55b2c0c6d6fcd1e7a6c710 /linux/r128_context.c
parent7c7885903a6fa3f561f3fe7ece28ac5b7aed8e7c (diff)
Merge in XFree86 4.0.2 updates from trunk.ati-5-0-0-20001223-merge
Diffstat (limited to 'linux/r128_context.c')
-rw-r--r--linux/r128_context.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/r128_context.c b/linux/r128_context.c
index 0d8b2f5c..0741e774 100644
--- a/linux/r128_context.c
+++ b/linux/r128_context.c
@@ -109,7 +109,9 @@ int r128_resctx(struct inode *inode, struct file *filp, unsigned int cmd,
memset(&ctx, 0, sizeof(ctx));
for (i = 0; i < DRM_RESERVED_CONTEXTS; i++) {
ctx.handle = i;
- if (copy_to_user(&res.contexts[i], &i, sizeof(i)))
+ if (copy_to_user(&res.contexts[i],
+ &i,
+ sizeof(i)))
return -EFAULT;
}
}