projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e67f88d
)
e100: fix build warning
author
Emil Tantilov
<emil.s.tantilov@intel.com>
Wed, 27 Apr 2011 08:51:29 +0000
(08:51 +0000)
committer
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Wed, 4 May 2011 19:01:24 +0000
(12:01 -0700)
In function 'e100_hw_init':
warning: 'err' may be used uninitialized in this function
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e100.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/e100.c
b/drivers/net/e100.c
index c810cda3bf1ff91c63f640809699d8ffe9dbee4f..29f812dc10982b4b6d445be0d1cd6ac32734bd1d 100644
(file)
--- a/
drivers/net/e100.c
+++ b/
drivers/net/e100.c
@@
-1512,7
+1512,7
@@
static int e100_phy_init(struct nic *nic)
static int e100_hw_init(struct nic *nic)
{
- int err;
+ int err
= 0
;
e100_hw_reset(nic);