9b80f12e31
This fixes a smatch warning: drivers/media/platform/coda/coda-bit.c:415 coda_alloc_framebuffers() error: we previously assumed 'ctx->codec' could be null (see line 396) coda_alloc_framebuffers() is called from coda_start_encoding() and __coda_start_decoding(). Both dereference ctx->codec before calling coda_alloc_framebuffers() in lines 935 and 1649, so ctx->codec can not be NULL. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
coda_regs.h | ||
coda-bit.c | ||
coda-common.c | ||
coda-gdi.c | ||
coda-h264.c | ||
coda-jpeg.c | ||
coda.h | ||
imx-vdoa.c | ||
imx-vdoa.h | ||
Makefile | ||
trace.h |