[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFo99gaHyhzmfn_N6Ynek0VxrNSp_2JNbU+U_ysZt=AOW5mwBw@mail.gmail.com>
Date: Sat, 3 May 2014 17:17:50 +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
Hello again
Sorry! I failed to include the patch :-)
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
View attachment "drivers_isdn_3files.patch" of type "text/x-patch" (2270 bytes)
Powered by blists - more mailing lists