drm/radeon/benchmark: signedness bug in radeon_benchmark_move()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 29 Oct 2011 07:21:28 +0000 (10:21 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 11 Nov 2011 11:16:12 +0000 (11:16 +0000)
commitbfba16582600ab2c75dc39250a2b8f3b2a42da11
treef1043efacdf8e96ed6d965d1d1012d897487ad01
parent8f4ff2b06afcd6f151868474a432c603057eaf56
drm/radeon/benchmark: signedness bug in radeon_benchmark_move()

radeon_benchmark_do_move() returns an int so "time" should be int
too.  Making it unsigned breaks the error handling.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_benchmark.c