projects
/
GitHub
/
moto-9609
/
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:
7b7d0ca
)
dmaengine :ipu: change ipu_irq_handler() to remove compile warning
author
yalin wang
<yalin.wang2010@gmail.com>
Tue, 25 Aug 2015 08:15:13 +0000
(16:15 +0800)
committer
Vinod Koul
<vinod.koul@intel.com>
Fri, 28 Aug 2015 04:32:59 +0000
(10:02 +0530)
Change ipu_irq_handler() to avoid gcc warning:
drivers/dma/ipu/ipu_irq.c:305:4: warning: 'irq' may be used
uninitialized in this function [-Wmaybe-uninitialized]
generic_handle_irq(irq);
Signed-off-by: yalin wang <yalin.wang2010@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/ipu/ipu_irq.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/dma/ipu/ipu_irq.c
b/drivers/dma/ipu/ipu_irq.c
index 7489d2a5d246f42e4c46141606ab15ce2981b9ae..4768a829253a5438a38e00b5be2eedc02af71fea 100644
(file)
--- a/
drivers/dma/ipu/ipu_irq.c
+++ b/
drivers/dma/ipu/ipu_irq.c
@@
-286,7
+286,7
@@
static void ipu_irq_handler(unsigned int __irq, struct irq_desc *desc)
raw_spin_unlock(&bank_lock);
while ((line = ffs(status))) {
struct ipu_irq_map *map;
- unsigned int irq;
+ unsigned int irq
= NO_IRQ
;
line--;
status &= ~(1UL << line);