forked from luck/tmp_suning_uos_patched
fd1857240d
media-git/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c: In function 'vidioc_querycap': media-git/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c:1317:2: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] strncpy(cap->card, dev->vfd_enc->name, sizeof(cap->card) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ media-git/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c: In function 'vidioc_querycap': media-git/drivers/media/platform/s5p-mfc/s5p_mfc_dec.c:275:2: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] strncpy(cap->card, dev->vfd_dec->name, sizeof(cap->card) - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
regs-mfc-v6.h | ||
regs-mfc-v7.h | ||
regs-mfc-v8.h | ||
regs-mfc-v10.h | ||
regs-mfc.h | ||
s5p_mfc_cmd_v5.c | ||
s5p_mfc_cmd_v5.h | ||
s5p_mfc_cmd_v6.c | ||
s5p_mfc_cmd_v6.h | ||
s5p_mfc_cmd.c | ||
s5p_mfc_cmd.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_iommu.h | ||
s5p_mfc_opr_v5.c | ||
s5p_mfc_opr_v5.h | ||
s5p_mfc_opr_v6.c | ||
s5p_mfc_opr_v6.h | ||
s5p_mfc_opr.c | ||
s5p_mfc_opr.h | ||
s5p_mfc_pm.c | ||
s5p_mfc_pm.h | ||
s5p_mfc.c |