mirror of https://gitee.com/openkylin/linux.git
65fccab560
Make sure mem_info[] array is not used uninitialized. This prevents following compiler warning: drivers/media/platform/s5p-mfc/s5p_mfc.c: In function s5p_mfc_probe: drivers/media/platform/s5p-mfc/s5p_mfc.c:1032:33: warning: mem_info[0] may be used uninitialized in this function [-Wuninitialized] drivers/media/platform/s5p-mfc/s5p_mfc.c:1021:15: note: mem_info[0] was declared here drivers/media/platform/s5p-mfc/s5p_mfc.c:1032:33: warning: mem_info[1] may be used uninitialized in this function [-Wuninitialized] drivers/media/platform/s5p-mfc/s5p_mfc.c:1021:15: note: mem_info[1] was declared here Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
Makefile | ||
regs-mfc-v6.h | ||
regs-mfc.h | ||
s5p_mfc.c | ||
s5p_mfc_cmd.c | ||
s5p_mfc_cmd.h | ||
s5p_mfc_cmd_v5.c | ||
s5p_mfc_cmd_v5.h | ||
s5p_mfc_cmd_v6.c | ||
s5p_mfc_cmd_v6.h | ||
s5p_mfc_common.h | ||
s5p_mfc_ctrl.c | ||
s5p_mfc_ctrl.h | ||
s5p_mfc_debug.h | ||
s5p_mfc_dec.c | ||
s5p_mfc_dec.h | ||
s5p_mfc_enc.c | ||
s5p_mfc_enc.h | ||
s5p_mfc_intr.c | ||
s5p_mfc_intr.h | ||
s5p_mfc_opr.c | ||
s5p_mfc_opr.h | ||
s5p_mfc_opr_v5.c | ||
s5p_mfc_opr_v5.h | ||
s5p_mfc_opr_v6.c | ||
s5p_mfc_opr_v6.h | ||
s5p_mfc_pm.c | ||
s5p_mfc_pm.h |