Re: [Intel-gfx] [PATCH igt] intel_error_decode: Factor out common decoding code

2014-01-06 Thread Damien Lespiau
On Mon, Dec 16, 2013 at 12:02:53PM +, Damien Lespiau wrote: > 4 pieces of code were looking very similar. Let's factor out a common > function in the not so unlikely case we need to tweak that code. > > Signed-off-by: Damien Lespiau Pushed. -- Damien > --- > tools/intel_error_decode.c |

[Intel-gfx] [PATCH igt] intel_error_decode: Factor out common decoding code

2013-12-16 Thread Damien Lespiau
4 pieces of code were looking very similar. Let's factor out a common function in the not so unlikely case we need to tweak that code. Signed-off-by: Damien Lespiau --- tools/intel_error_decode.c | 52 +++--- 1 file changed, 21 insertions(+), 31 deletions(