[lkml]   [2015]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT] Networking
On Thu, Sep 3, 2015 at 1:55 PM, Julia Lawall <> wrote:
> There are 32 2-dimensional arrays in function parameters, and 1
> 3-dimensional array. No 4-dimensional arrays. I didn't check past that.
> None of these has a sizeof or ARRAY_SIZE.
> The three dimensional array is here: drivers/media/dvb-frontends/stv0367.c

Ok. That actually looks like a valid use of the C function argument
array passing semantics. It's rather much simpler than exposing the

So I guess we don't really end up wanting to disallow this, and the
new gcc array sizeof warning is good enough.

Thanks for running the analysis so that I didn't have to look at it ;)


 \ /
  Last update: 2015-09-03 23:21    [W:0.049 / U:3.484 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site