git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
char
/
drm
/
drm_drawable.c
diff --git
a/drivers/char/drm/drm_drawable.c
b/drivers/char/drm/drm_drawable.c
index
e8e8e42
..
7857453
100644
(file)
--- a/
drivers/char/drm/drm_drawable.c
+++ b/
drivers/char/drm/drm_drawable.c
@@
-1,5
+1,5
@@
/**
/**
- * \file drm_drawable.
h
+ * \file drm_drawable.
c
* IOCTLs for drawables
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* IOCTLs for drawables
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
@@
-37,20
+37,20
@@
/** No-op. */
int drm_adddraw(struct inode *inode, struct file *filp,
/** No-op. */
int drm_adddraw(struct inode *inode, struct file *filp,
-
unsigned int cmd, unsigned long arg)
+ unsigned int cmd, unsigned long arg)
{
drm_draw_t draw;
draw.handle = 0; /* NOOP */
DRM_DEBUG("%d\n", draw.handle);
{
drm_draw_t draw;
draw.handle = 0; /* NOOP */
DRM_DEBUG("%d\n", draw.handle);
- if (copy_to_user((drm_draw_t __user *)arg, &draw, sizeof(draw)))
+ if (copy_to_user((drm_draw_t __user *)
arg, &draw, sizeof(draw)))
return -EFAULT;
return 0;
}
/** No-op. */
int drm_rmdraw(struct inode *inode, struct file *filp,
return -EFAULT;
return 0;
}
/** No-op. */
int drm_rmdraw(struct inode *inode, struct file *filp,
-
unsigned int cmd, unsigned long arg)
+ unsigned int cmd, unsigned long arg)
{
return 0; /* NOOP */
}
{
return 0; /* NOOP */
}