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:
cdec2f8
)
drm: drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.
author
=?utf-8?q?Felix_K=C3=BChling?=
<fxkuehl@gmx.de>
Tue, 24 Oct 2006 13:28:23 +0000
(23:28 +1000)
committer
airlied
<airlied@linux.ie>
Thu, 7 Dec 2006 04:53:29 +0000
(15:53 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm_drawable.c
patch
|
blob
|
history
diff --git
a/drivers/char/drm/drm_drawable.c
b/drivers/char/drm/drm_drawable.c
index ce7a027b0ad48f13147b3eae5b256054545a17fa..de37d5f7456357867965e0881e262a1cdbab7cad 100644
(file)
--- a/
drivers/char/drm/drm_drawable.c
+++ b/
drivers/char/drm/drm_drawable.c
@@
-132,7
+132,8
@@
int drm_rmdraw(DRM_IOCTL_ARGS)
{
DRM_DEVICE;
drm_draw_t draw;
- unsigned int id, idx, shift;
+ int id, idx;
+ unsigned int shift;
unsigned long irqflags;
u32 *bitfield = dev->drw_bitfield;
unsigned int bitfield_length = dev->drw_bitfield_length;