diff options
| author | Dan Carpenter <[email protected]> | 2016-02-09 09:14:12 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-02-19 08:10:32 -0200 |
| commit | 76880b4015f7bdbe73bf2c07e42ef0ba7a343d3e (patch) | |
| tree | 6046536e7537660cd4f0627e8a5b10968af969cc /tools/perf/scripts/python/bin | |
| parent | bb07df8ae18b42a8c5aea715fae82938b467ff9d (diff) | |
[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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions