gallium/radeon: fixed division by zero
authorJakob Sinclair <sinclair.jakob@openmailbox.org>
Wed, 18 May 2016 17:48:29 +0000 (19:48 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 31 May 2016 10:51:20 +0000 (12:51 +0200)
commit877c00c653ac782f8867a3fee24f16707b1d568c
tree6ddb24a2e12dbaf1e1cddf6c705b4af7a6da6e54
parent35fd5282ea39a15fab4f7b9639ffe0853a19b415
gallium/radeon: fixed division by zero

Coverity is getting a false positive that a division by zero can occur
here. This change will silence the Coverity warnings as a division by zero
cannot occur in this case.

Signed-off-by: Jakob Sinclair <sinclair.jakob@openmailbox.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_test_dma.c