On Fri, 3 Sep 2010, Poyo VL wrote: > From: Ionut Gabriel Popescu <poyo...@yahoo.com> > Kernel: 2.6.35.4 > > The drivers/media/video/mt9v022.c file, on line 405, tries a "case 0" o a > v4l2_mbus_pixelcode enum which don't have an 0 value element, so I got a > compile > warning. That "case" is useless so it can be removed.
This looks much better, thanks! I'll take it from here. Regards Guennadi > > > Signed-off-by: Ionut Gabriel Popescu <poyo...@yahoo.com> > --- > > --- a/drivers/media/video/mt9v022.c 2010-08-27 02:47:12.000000000 +0300 > +++ b/drivers/media/video/mt9v022.c 2010-09-01 16:12:00.704505851 +0300 > @@ -402,9 +402,6 @@ > if (mt9v022->model != V4L2_IDENT_MT9V022IX7ATC) > return -EINVAL; > break; > - case 0: > - /* No format change, only geometry */ > - break; > default: > return -EINVAL; > } > > > > --- Guennadi Liakhovetski, Ph.D. Freelance Open-Source Software Developer http://www.open-technology.de/ -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html