Hi Sakari, Thank you for the patch. On Monday 25 January 2016 14:39:42 Sakari Ailus wrote: > The array is already static and may not be modified at runtime. Make it > const. > > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > utils/media-ctl/libv4l2subdev.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/utils/media-ctl/libv4l2subdev.c > b/utils/media-ctl/libv4l2subdev.c index dc2cd87..e45834f 100644 > --- a/utils/media-ctl/libv4l2subdev.c > +++ b/utils/media-ctl/libv4l2subdev.c > @@ -715,7 +715,7 @@ int v4l2_subdev_parse_setup_formats(struct media_device > *media, const char *p) return *end ? -EINVAL : 0; > } > > -static struct { > +static const struct { > const char *name; > enum v4l2_mbus_pixelcode code; > } mbus_formats[] = { -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html