]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: signedness bug in amdgpu_cs_parser_init()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Sep 2015 11:36:55 +0000 (14:36 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Sep 2015 17:44:15 +0000 (13:44 -0400)
commit89608c3b3a8704ec375f09f58265e4f98fc4a17b
tree3213855d50e0b38db5ff42820cf000be211b481a
parent635f6b17d6e1dccb132551477fee17538720ced7
drm/amdgpu: signedness bug in amdgpu_cs_parser_init()

The "i" variable should be signed or it leads to a crash in the error
handling code.

Fixes: eb409e35b91b ('drm/amdgpu: unwind properly in amdgpu_cs_parser_init()')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c