Re: [Mesa-dev] [PATCH] radeonsi: check if value is negative

2016-04-27 Thread Jakob Sinclair
On 2016-04-27 12:17, Marek Olšák wrote: Reviewed-by: Marek Olšák Marek On Mon, Apr 25, 2016 at 9:03 AM, Jakob Sinclair wrote: Fixes a Coverity defect by adding checks to see if a value is negative before using it to index an array. By checking the value first it makes the code a bit safer

Re: [Mesa-dev] [PATCH] radeonsi: check if value is negative

2016-04-27 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Apr 25, 2016 at 9:03 AM, Jakob Sinclair wrote: > Fixes a Coverity defect by adding checks to see if a value is negative > before using it to index an array. By checking the value first it makes > the code a bit safer but overall should not have a big impac

[Mesa-dev] [PATCH] radeonsi: check if value is negative

2016-04-25 Thread Jakob Sinclair
Fixes a Coverity defect by adding checks to see if a value is negative before using it to index an array. By checking the value first it makes the code a bit safer but overall should not have a big impact. CID: 1355598 Signed-off-by: Jakob Sinclair --- Resending this patch because I did not get