From: Stephen Hemminger <[EMAIL PROTECTED]>
Date: Fri, 5 Oct 2007 17:28:01 -0700

> On Fri, 05 Oct 2007 17:04:28 -0700 (PDT)
> David Miller <[EMAIL PROTECTED]> wrote:
> 
> > From: Stephen Hemminger <[EMAIL PROTECTED]>
> > Date: Fri, 5 Oct 2007 08:43:17 -0700
> > 
> > > drivers/net/niu.c:203:2: error: bad constant expression
> > > drivers/net/niu.c:203:2: error: cannot size expression
> > > drivers/net/niu.c:4214:2: error: bad constant expression
> > > drivers/net/niu.c:4214:2: error: cannot size expression
> > 
> > I can't figure out what sparse doesn't like here.
> 
> Sparse doesn't like dynamically sized arrays, which is what BUILD_BUG_ON()
> expands into.  Not sure why it is hostile to dynamic arrays,
> probably just a Linus (or Viro) taste thing.

Ok, thanks for tracking it down Stephen.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to