linux_dsm_epyc7002/drivers/media
Mauro Carvalho Chehab 9033b1a470 [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 <sakari.ailus@iki.fi>

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-11 12:19:02 -02:00
..
common [media] dvb core: must check dvb_create_media_graph() 2016-01-11 12:18:59 -02:00
dvb-core [media] media_entity: remove gfp_flags argument 2016-01-11 12:19:02 -02:00
dvb-frontends [media] uapi/media.h: Rename entities types to functions 2016-01-11 12:19:01 -02:00
firewire [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
i2c [media] uapi/media.h: Rename entities types to functions 2016-01-11 12:19:01 -02:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] dvb: modify core to implement interfaces/entities at MC new gen 2016-01-11 12:18:52 -02:00
platform [media] uapi/media.h: Rename entities types to functions 2016-01-11 12:19:01 -02:00
radio [media] media, sound: tea575x: constify snd_tea575x_ops structures 2015-12-03 11:26:45 -02:00
rc [media] rc: sunxi-cir: Initialize the spinlock properly 2015-12-23 15:51:40 -02:00
tuners [media] tv tuner max2165 driver: extend frequency range 2015-11-19 11:19:42 -02:00
usb [media] uapi/media.h: Rename entities types to functions 2016-01-11 12:19:01 -02:00
v4l2-core [media] media_entity: remove gfp_flags argument 2016-01-11 12:19:02 -02:00
Kconfig [media] Kconfig: Re-enable Media controller support for DVB 2016-01-11 12:18:40 -02:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media-device: use unsigned ints on some places 2016-01-11 12:19:02 -02:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media_entity: remove gfp_flags argument 2016-01-11 12:19:02 -02:00