Hello there,
I just tried out cppcheck-1.44 on the linux-2.6.36-rc3 source code.
It said
Checking arch/powerpc/kernel/ppc970-pmu.c...
[arch/powerpc/kernel/ppc970-pmu.c:171]: (style) Redundant assignment of "mask"
in switch
The source code is
case PM_VPU:
mask = 0x4c;
_
Send us your Hotmail stories and be featured in our newsletter
http://clk.atdmt.com/UKM/go/195013117/direct/01/
Signed-off-by: David Binderman
--- aoa/core/gpio-pmf.c.sav 2010-03-19 10:
Hello there,
I just ran the sourceforge tool cppcheck over the source code of the
new Linux kernel 2.6.34-rc1
It said
[./macintosh/windfarm_pm81.c:760]: (style) Redundant condition. It is safe to
deallocate a NULL poin
ter
[./macintosh/windfarm_pm81.c:762]: (style) Redundant condition. It is
Hello there,
I just ran the sourceforge tool cppcheck over the source code of the
new Linux kernel 2.6.33-rc6
It said
[./arch/powerpc/platforms/powermac/low_i2c.c:594]: (style) The scope of the
variable chans can be reduced
[./arch/powerpc/platforms/powermac/low_i2c.c:594]: (style) The scope