mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 04:46:51 +07:00
34b2ea1c9e
The omap/omap3 and viu drivers are for 32 bit platforms only. There, a pointer has 32 bits. Now that those drivers build for 64 bits with COMPILE_TEST, they produce the following warnings: drivers/media/platform/omap/omap_vout_vrfb.c: In function 'omap_vout_allocate_vrfb_buffers': drivers/media/platform/omap/omap_vout_vrfb.c:57:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memset((void *) vout->smsshado_virt_addr[i], 0, ^ drivers/media/platform/fsl-viu.c: In function 'viu_setup_preview': drivers/media/platform/fsl-viu.c:753:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] reg_val.field_base_addr = (u32)dev->ovbuf.base; ^ drivers/media/platform/omap/omap_vout.c: In function 'omap_vout_get_userptr': drivers/media/platform/omap/omap_vout.c:209:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] *physp = virt_to_phys((void *)virtp); ^ drivers/media/platform/omap3isp/ispccdc.c: In function 'ccdc_config': drivers/media/platform/omap3isp/ispccdc.c:738:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (__force void __user *)fpc.fpcaddr, ^ Add some typecasts to remove those warnings when building for 64 bits. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
cfa_coef_table.h | ||
gamma_table.h | ||
isp.c | ||
isp.h | ||
ispccdc.c | ||
ispccdc.h | ||
ispccp2.c | ||
ispccp2.h | ||
ispcsi2.c | ||
ispcsi2.h | ||
ispcsiphy.c | ||
ispcsiphy.h | ||
isph3a_aewb.c | ||
isph3a_af.c | ||
isph3a.h | ||
isphist.c | ||
isphist.h | ||
isppreview.c | ||
isppreview.h | ||
ispreg.h | ||
ispresizer.c | ||
ispresizer.h | ||
ispstat.c | ||
ispstat.h | ||
ispvideo.c | ||
ispvideo.h | ||
luma_enhance_table.h | ||
Makefile | ||
noise_filter_table.h | ||
omap3isp.h |