Re: [PATCH 06/18] drm: use ARRAY_SIZE

2017-10-02 Thread Thierry Reding
On Sun, Oct 01, 2017 at 03:30:44PM -0400, Jérémy Lefaure wrote: > Using the ARRAY_SIZE macro improves the readability of the code. Also, > it is not always useful to use a variable to store this constant > calculated at compile time nor to re-invent the ARRAY_SIZE macro. > > Found with Coccinelle

Re: [PATCH 06/18] drm: use ARRAY_SIZE

2017-10-02 Thread Jani Nikula
On Sun, 01 Oct 2017, Jérémy Lefaure wrote: > Using the ARRAY_SIZE macro improves the readability of the code. Also, > it is not always useful to use a variable to store this constant > calculated at compile time nor to re-invent the ARRAY_SIZE macro. > > Found with Coccinelle with the following se