linux/drivers/media/usb/cpia2
Dan Carpenter 76880b4015 [media] usb/cpia2_core: clean up a min_t() cast
It makes sense to make the min_t() cast unsigned here since we don't
really want negative sizes.  Making it signed causes a static checker
warning in Smatch.  Smatch knows "fw->size - i" is positive but it
doesn't know that fw->size is less than INT_MAX so in theory casting it
to int might lead to a negative.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-19 08:10:32 -02:00
..
cpia2_core.c [media] usb/cpia2_core: clean up a min_t() cast 2016-02-19 08:10:32 -02:00
cpia2_registers.h
cpia2_usb.c
cpia2_v4l.c
cpia2.h
Kconfig
Makefile