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:
991f739
)
PCI: aerdrv: fix uninitialized variable warning
author
Bill Pemberton
<wfp5p@virginia.edu>
Tue, 3 Aug 2010 19:18:43 +0000
(15:18 -0400)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 15 Oct 2010 20:09:48 +0000
(13:09 -0700)
quiet the warning about use of uninitialized e_src in
aer_isr() e_src is initialized by get_e_source()
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pcie/aer/aerdrv_core.c
patch
|
blob
|
history
diff --git
a/drivers/pci/pcie/aer/aerdrv_core.c
b/drivers/pci/pcie/aer/aerdrv_core.c
index 29e268fadf14cb44d18fac7570e118ce7ba489c9..43421fbe080a01c3c962844942c0018c50881158 100644
(file)
--- a/
drivers/pci/pcie/aer/aerdrv_core.c
+++ b/
drivers/pci/pcie/aer/aerdrv_core.c
@@
-754,7
+754,7
@@
void aer_isr(struct work_struct *work)
{
struct aer_rpc *rpc = container_of(work, struct aer_rpc, dpc_handler);
struct pcie_device *p_device = rpc->rpd;
- struct aer_err_source
e_src
;
+ struct aer_err_source
uninitialized_var(e_src)
;
mutex_lock(&rpc->rpc_mutex);
while (get_e_source(rpc, &e_src))