From: Tomi Valkeinen Date: Mon, 14 Jun 2021 11:23:18 +0000 (+0200) Subject: media: ti-vpe: cal: change index and cport to u8 X-Git-Tag: libata-5.15-2021-09-05~43^2~147 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=05b12b557234995aa77083d3c6c373832816c01f;p=linux-block.git media: ti-vpe: cal: change index and cport to u8 cal_ctx's index and cport fields are numbers less than 8. In the following patches we will get a bunch of new fields, all of which are similar small numbers, so lets change the type to u8. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/ti-vpe/cal.h b/drivers/media/platform/ti-vpe/cal.h index 09ad20faa9e1..251bb0ba7b3b 100644 --- a/drivers/media/platform/ti-vpe/cal.h +++ b/drivers/media/platform/ti-vpe/cal.h @@ -217,8 +217,8 @@ struct cal_ctx { unsigned int sequence; struct vb2_queue vb_vidq; - unsigned int index; - unsigned int cport; + u8 index; + u8 cport; }; extern unsigned int cal_debug;