[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-fbdev
Subject: Re: [PATCH] fbdev: da8xx-fb: remove incorrect type cast
From: Tomi Valkeinen <tomi.valkeinen () ti ! com>
Date: 2016-01-29 11:42:40
Message-ID: 56AB5030.5040203 () ti ! com
[Download RAW message or body]
On 25/01/16 17:05, Arnd Bergmann wrote:
> The probe function correct passes a dma_addr_t pointer into
> dma_alloc_coherent(), but has a cast to resource_size_t, which
> might be different from dma_addr_t:
>
> drivers/video/fbdev/da8xx-fb.c: In function 'fb_probe':
> drivers/video/fbdev/da8xx-fb.c:1431:10: error: passing argument 3 of \
> 'dma_alloc_coherent' from incompatible pointer type \
> [-Werror=incompatible-pointer-types]
> This removes the cast, which avoids the warning.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/video/fbdev/da8xx-fb.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Thanks, queued for 4.5 fixes.
Tomi
["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic