提交 507c0185 编写于 作者: = =?utf-8?q?Felix_K=C3=BChling?= 提交者: airlied

drm: drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended.

Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 cdec2f82
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册