projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c65a965
)
atm: fore200e.c: Cleaning up uninitialized variables
author
Rickard Strandqvist
<
[email protected]
>
Sat, 31 May 2014 23:08:32 +0000
(
01:08
+0200)
committer
David S. Miller
<
[email protected]
>
Tue, 3 Jun 2014 00:11:03 +0000
(17:11 -0700)
There is a risk that the variable will be used without being initialized.
This was largely found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/atm/fore200e.c
patch
|
blob
|
history
diff --git
a/drivers/atm/fore200e.c
b/drivers/atm/fore200e.c
index 204814e88e464480248a6ddef6fe292d095514ad..d4725fc0395d037e9ae3b861a241f9e9d229a580 100644
(file)
--- a/
drivers/atm/fore200e.c
+++ b/
drivers/atm/fore200e.c
@@
-2780,7
+2780,7
@@
static struct pci_driver fore200e_pca_driver = {
static int __init fore200e_module_init(void)
{
- int err;
+ int err
= 0
;
printk(FORE200E "FORE Systems 200E-series ATM driver - version " FORE200E_VERSION "\n");