On Tue, 5 Apr 2011 23:39:19 +0200, Julien Cristau <jcristau@xxxxxxxxxx> wrote: > On Tue, Apr 5, 2011 at 21:50:15 +0100, Chris Wilson wrote: > > > + if ((unsigned)status > ARRAY_SIZE(strings)) > > off by one? And didn't check for holes. /me wishes he never sent this momentarily useful bit of code. ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel