[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFo99gbyvMvgETakjpHmdjkEPmn1M_Lcio+rbtW0_bce7h1KCg@mail.gmail.com>
Date: Sat, 3 May 2014 17:14:17 +0200
From: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
To: Karsten Keil <isdn@...ux-pingi.de>, netdev@...r.kernel.org
Subject: Found some errors and other oddities, largely by means of a static
code analysis program
Hi
The static code analysis program called cppcheck.
http://cppcheck.sourceforge.net/
I found code that I think are bugs, or at least inappropriate or
unnecessary code, in the files:
drivers/isdn/hisax/l3dss1.c
drivers/isdn/hisax/l3ni1.c
drivers/isdn/mISDN/dsp_cmx.c
I have created a patch, and inluderat the error file generated by cppcheck.
My goal was not to change any functionality, but it does not mean for
example the unused variables can't mean that there are other
problems/mistakes in the code. So a proper code review :)
Is there anything else I can help with regarding the patch or
cppcheck, do not hesitate to contact me.
If you like this type of code analysis, it is possible to get more
warnings, which are not as serious, but that may well indicate other
mistakes.
Best regards
Rickard Strandqvist
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists