• Mauro Carvalho Chehab's avatar
    [media] s5p_mfc_opr_v5: fix smatch warnings · d7fa7b0e
    Mauro Carvalho Chehab authored
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:266:23: warning: incorrect type in argument 2 (different modifiers)
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:266:23:    expected void volatile [noderef] <asn:2>*addr
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:266:23:    got void const volatile [noderef] <asn:2>*<noident>
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:274:36: warning: incorrect type in argument 1 (different address spaces)
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:274:36:    expected void const volatile [noderef] <asn:2>*addr
    drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c:274:36:    got void *
    Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
    d7fa7b0e
s5p_mfc_opr_v5.c 53.4 KB