[Intel-gfx] [PATCH 2/9] drm/i915: [sparse] don't use variable size arrays

Paulo Zanoni przanoni at gmail.com
Wed Apr 18 03:39:15 CEST 2012


2012/4/16 Ben Widawsky <ben at bwidawsk.net>:
> Sparse doesn't like:
> "error: bad constant expression"
>

<bikeshedding>
I know you'll hate me for asking, but: how difficult is it to fix sparse?
Adding those mallocs/frees increases the code complexity, making it
harder to read...
</bikeshedding>

-- 
Paulo Zanoni



More information about the Intel-gfx mailing list