From: Peter Ujfalusi Date: Wed, 21 Sep 2016 12:41:29 +0000 (+0300) Subject: dmaengine: edma: Use correct type for of_find_property() third parameter X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f1d1e34fa5929552662d2c25363bbb82dd3a8fec;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dmaengine: edma: Use correct type for of_find_property() third parameter The correct type is int and not for the third parameter of of_find_property(). Fixes compilation for 64bit architectures (x86_64, aarch64). Signed-off-by: Peter Ujfalusi Signed-off-by: Vinod Koul --- diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 951b8b204a47..4f00db34db98 100644 --- a/drivers/dma/edma.c +++ b/drivers/dma/edma.c @@ -2026,8 +2026,7 @@ static struct edma_soc_info *edma_setup_info_from_dt(struct device *dev, { struct edma_soc_info *info; struct property *prop; - size_t sz; - int ret; + int sz, ret; info = devm_kzalloc(dev, sizeof(struct edma_soc_info), GFP_KERNEL); if (!info)