From ad8d04570c9f559706cb2ccc3eeb796bd0b7c5d8 Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 9 May 2016 15:25:28 +0800 Subject: [PATCH] iommu: rk-iommu: fix build warning when enable CONFIG_CC_OPTIMIZE_FOR_SIZE Change-Id: Iff20759a625df9f6c6138eaa8d963d67a483c01d Signed-off-by: Simon --- drivers/iommu/rk-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/rk-iommu.c b/drivers/iommu/rk-iommu.c index b3bb9f38b313..0520d2c63405 100644 --- a/drivers/iommu/rk-iommu.c +++ b/drivers/iommu/rk-iommu.c @@ -766,7 +766,7 @@ int rockchip_iommu_tlb_invalidate_global(struct device *dev) { unsigned long flags; struct iommu_drvdata *data = dev_get_drvdata(dev->archdata.iommu); - int ret; + int ret = 0; spin_lock_irqsave(&data->data_lock, flags); -- 2.34.1