diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2015-09-09 08:23:51 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-01-11 12:19:02 -0200 |
| commit | 9033b1a47038fdba388fc13613de23508dccb075 (patch) | |
| tree | 8e921e4d3ead2f10b9c5a9ccac505e0cb58be7e3 /tools/perf/scripts/python | |
| parent | 0b3b72df9018c0386293c2f529b91ed17448288a (diff) | |
[media] media-device: use unsigned ints on some places
The entity->num_pads are defined as u16. So, better to use an
unsigned int, as this prevents additional warnings when W=2
(or W=1 on some architectures).
The "i" counter at __media_device_get_topology() is also a
monotonic counter that should never be below zero. So,
make it unsigned too.
Suggested-by: Sakari Ailus <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions