[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFo99gZA_y7XTjWfAkqzDMJmf=i74kwWqE8MnQZutuDAvWnNVw@mail.gmail.com>
Date: Sat, 3 May 2014 17:50:32 +0200
From: Rickard Strandqvist <rickard_strandqvist@...ctrumdigital.se>
To: Larry Finger <Larry.Finger@...inger.net>,
Chaoming Li <chaoming_li@...lsil.com.cn>,
"John W. Linville" <linville@...driver.com>, 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/net/wireless/rtlwifi/rtl8188ee/trx.c
drivers/net/wireless/rtlwifi/rtl8192de/hw.c
drivers/net/wireless/rtlwifi/rtl8192de/phy.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_net_wireless_rtlwifi_3files.patch" of type "text/x-patch" (4106 bytes)
View attachment "drivers_net_wireless_rtlwifi_cppcheck.log" of type "text/x-log" (634 bytes)
Powered by blists - more mailing lists