Skip to content

Commit

Permalink
drm: drm_rmdraw: Declare id and idx as signed so testing for < 0 work…
Browse files Browse the repository at this point in the history
…s as intended.

Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
=?utf-8?q?Felix_K=C3=BChling?= authored and airlied committed Dec 7, 2006
1 parent cdec2f8 commit 507c018
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/char/drm/drm_drawable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 507c018

Please sign in to comment.