From: Laurent Pinchart Date: Thu, 3 Mar 2016 12:25:47 +0000 (-0300) Subject: [media] v4l: vsp1: dl: Make reg_count field unsigned X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b25854e134e9a28c600937ac2320d65c1530283e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] v4l: vsp1: dl: Make reg_count field unsigned The field takes positive values only, make it unsigned. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vsp1/vsp1_dl.c b/drivers/media/platform/vsp1/vsp1_dl.c index 54f8f4719276..51d14c4a4231 100644 --- a/drivers/media/platform/vsp1/vsp1_dl.c +++ b/drivers/media/platform/vsp1/vsp1_dl.c @@ -60,7 +60,7 @@ struct vsp1_dl_list { dma_addr_t dma; size_t size; - int reg_count; + unsigned int reg_count; }; enum vsp1_dl_mode {