Re: [PATCH net-2.6.24] net: sparse warning fixes

2007-10-08 Thread Stephen Hemminger
On Sun, 07 Oct 2007 23:59:56 -0700 (PDT) David Miller <[EMAIL PROTECTED]> wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > Date: Fri, 5 Oct 2007 17:14:07 -0700 > > > Fix a bunch of sparse warnings. Mostly about 0 used as > > NULL pointer, and shadowed variable declarations. > > > > The two

Re: [PATCH net-2.6.24] net: sparse warning fixes

2007-10-08 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 5 Oct 2007 17:14:07 -0700 > Fix a bunch of sparse warnings. Mostly about 0 used as > NULL pointer, and shadowed variable declarations. > > The two noteable changes are: > * hash size should have been unsigned > * cls_u32 had a case where er

[PATCH net-2.6.24] net: sparse warning fixes

2007-10-05 Thread Stephen Hemminger
Fix a bunch of sparse warnings. Mostly about 0 used as NULL pointer, and shadowed variable declarations. The two noteable changes are: * hash size should have been unsigned * cls_u32 had a case where error code wasn't been propogated properly, so it could return 0 but still have an error.