diff options
author | yalin wang <yalin.wang2010@gmail.com> | 2015-08-25 10:15:13 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-08-28 06:32:59 +0200 |
commit | 6ef41cf6f721573d286a06ca35a9f1e370637d51 (patch) | |
tree | 2c14d433f51711e822f01ae29c978dc7fee03839 /drivers/dma/ipu | |
parent | dmaengine: ioatdma: Fix variable array length (diff) | |
download | linux-6ef41cf6f721573d286a06ca35a9f1e370637d51.tar.xz linux-6ef41cf6f721573d286a06ca35a9f1e370637d51.zip |
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/ipu')
-rw-r--r-- | drivers/dma/ipu/ipu_irq.c | 2 |
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); |