summaryrefslogtreecommitdiff
path: root/drivers/dma
diff options
context:
space:
mode:
authoryalin wang <yalin.wang2010@gmail.com>2015-08-25 11:15:13 +0300
committerVinod Koul <vinod.koul@intel.com>2015-08-28 07:32:59 +0300
commit6ef41cf6f721573d286a06ca35a9f1e370637d51 (patch)
tree2c14d433f51711e822f01ae29c978dc7fee03839 /drivers/dma
parent7b7d0ca7778d359584859cb5e75965ad34f42533 (diff)
downloadlinux-6ef41cf6f721573d286a06ca35a9f1e370637d51.tar.xz
dmaengine :ipu: change ipu_irq_handler() to remove compile warning
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>
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/ipu/ipu_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ipu/ipu_irq.c b/drivers/dma/ipu/ipu_irq.c
index 7489d2a5d246..4768a829253a 100644
--- 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);