Re: [Mesa-dev] [PATCH] pipe-loader: fix off-by one error

2015-11-23 Thread Tom Stellard
On Mon, Nov 23, 2015 at 09:37:51PM +, Emil Velikov wrote: > With earlier commit we've dropped the manual iteration over the fixed > size array and prepemtively set the variable storing the size, that is > to be returned. Yet we forgot to adjust the comparison, as before we > were comparing the

[Mesa-dev] [PATCH] pipe-loader: fix off-by one error

2015-11-23 Thread Emil Velikov
With earlier commit we've dropped the manual iteration over the fixed size array and prepemtively set the variable storing the size, that is to be returned. Yet we forgot to adjust the comparison, as before we were comparing the index, now we're comparing the size. Fixes: ff9cd8a67ca "pipe-loader: