mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 23:25:37 +07:00
media: ti-vpe: cal: Use 'unsigned int' type instead of 'unsigned'
Specifying 'int' explicitly is generally preferred in the kernel for unsigned int types. Fix the only wrong occurrence. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
56d1d67468
commit
f4d9837d87
@ -1776,7 +1776,7 @@ static int cal_queue_setup(struct vb2_queue *vq,
|
||||
unsigned int sizes[], struct device *alloc_devs[])
|
||||
{
|
||||
struct cal_ctx *ctx = vb2_get_drv_priv(vq);
|
||||
unsigned size = ctx->v_fmt.fmt.pix.sizeimage;
|
||||
unsigned int size = ctx->v_fmt.fmt.pix.sizeimage;
|
||||
|
||||
if (vq->num_buffers + *nbuffers < 3)
|
||||
*nbuffers = 3 - vq->num_buffers;
|
||||
|
Loading…
Reference in New Issue
Block a user