[Mesa-dev] [PATCH 01/14] mesa/main: replace Elements() with ARRAY_SIZE()

Brian Paul brianp at vmware.com
Sat Feb 28 12:35:09 PST 2015


On 02/28/2015 10:32 AM, Ilia Mirkin wrote:
> I pulled down the patches from patchwork and verified using tools that
> the only changes (except for the last patch) are Elements ->
> ARRAY_SIZE. This is the command I used:
>
> diff -u <( git diff e8cf8d013fcd7a15e94103b9367d89394de7a067^.. | grep
> -P '^\+[^+]' | sed 's/^+//' ) <( git diff
> e8cf8d013fcd7a15e94103b9367d89394de7a067^.. | grep -P '^-[^-]' | sed
> 's/^-//' | sed 's/Elements/ARRAY_SIZE/g' )
>
> Note that the hash in question is local and represents patch 1 in the
> series. I've also visually verified (with grep color) that all of the
> "-" lines have instances of "Elements" that need changing. So the
> whole series is
>
> Acked-by: Ilia Mirkin <imirkin at alum.mit.edu>

Thanks.  I found one more instance of Elements in src/util/bitset.h

I'll post a patch for that too.  If there's no other replies I'll commit 
the series with your Acked-by later/tomorrow.

-Brian




More information about the mesa-dev mailing list