linux-2.6.36-rc3 bug report

2010-09-07 Thread d binderman
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;  

[PATCH]: Minor quibble in macintosh/windfarm_pm81.c

2010-03-19 Thread d binderman
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

[PATCH]: core/gpio-pmf.c: 3 * redundant code

2010-03-19 Thread d binderman
_ 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 dcb...@hotmail.com ---

powermac/low_i2c.c: three minor problems

2010-02-06 Thread d binderman
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