When compiling s5p-mfc driver with: make ARCH=i386 C=1 CF=-D__CHECK_ENDIAN__ CONFIG_DEBUG_SECTION_MISMATCH=y W=1 CF=-D__CHECK_ENDIAN__ M=drivers/media Lots of smatch warnings are produced, because: - some static vars were missing 'static'; - the readl/writel pointers were wrongly declared. Fix them. Mauro Carvalho Chehab (4): [media] s5p_mfc: use static for some structs [media] s5p_mfc_opr_v5: fix smatch warnings [media] s5p_mfc_opr_v6: fix wrong type for registers [media] s5p_mfc_opr_v6: remove address space removal warnings drivers/media/platform/s5p-mfc/s5p_mfc.c | 24 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr.h | 488 ++++++++++++------------ drivers/media/platform/s5p-mfc/s5p_mfc_opr_v5.c | 4 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 12 +- 4 files changed, 264 insertions(+), 264 deletions(-) -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html