diff options
author | 2016-01-25 16:05:18 +0100 | |
---|---|---|
committer | 2016-01-29 13:37:42 +0200 | |
commit | ef88ee4e2c98c11dab56b2845ade9270acb8e68b (patch) | |
tree | 91322225e461a07e5ec6bb80735cd777e4478a7a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | fbdev: s6e8ax0: avoid unused function warnings (diff) | |
download | wireguard-linux-ef88ee4e2c98c11dab56b2845ade9270acb8e68b.tar.xz wireguard-linux-ef88ee4e2c98c11dab56b2845ade9270acb8e68b.zip |
fbdev: da8xx-fb: remove incorrect type cast
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>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions