From: Hans Verkuil Date: Wed, 5 Nov 2014 08:17:51 +0000 (-0300) Subject: [media] s5p-mfc: fix sparse error X-Git-Tag: v3.19-rc1~126^2~206 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=4895cc47a072dcb32d3300d0a46a251a8c6db5f1;p=karo-tx-linux.git [media] s5p-mfc: fix sparse error s5p_mfc_enc.c:1178:25: error: incompatible types in conditional expression (different base types) Signed-off-by: Hans Verkuil Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c index 9391b8ea4682..e7240cb76af9 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_enc.c @@ -1175,7 +1175,7 @@ static int vidioc_reqbufs(struct file *file, void *priv, if (reqbufs->count == 0) { mfc_debug(2, "Freeing buffers\n"); ret = vb2_reqbufs(&ctx->vq_src, reqbufs); - s5p_mfc_hw_call(dev->mfc_ops, release_codec_buffers, + s5p_mfc_hw_call_void(dev->mfc_ops, release_codec_buffers, ctx); ctx->output_state = QUEUE_FREE; return ret;