Re: [PATCH v1 4/6] staging: media: atomisp: reformat code comment blocks

From: Deepak R Varma
Date: Thu Apr 29 2021 - 07:32:11 EST


On Thu, Apr 29, 2021 at 01:08:09PM +0300, Dan Carpenter wrote:
> On Wed, Apr 21, 2021 at 10:26:09PM +0530, Deepak R Varma wrote:
> > @@ -1044,7 +1048,7 @@ static long mt9m114_s_exposure(struct v4l2_subdev *sd,
> > }
> >
> > /*
> > - // set analog/digital gain
> > + * set analog/digital gain
> > switch(AnalogGain)
> > {
> > case 0:
>
> How on earth does this compile?

There is a closing */ down under after the entire switch block. The
change I made is within the comment block. I have compiled the built the
driver successfully.
Please let me know if you are seeing a different issue here.

Thank you,
deepak.

>
> > @@ -1069,8 +1073,10 @@ static long mt9m114_s_exposure(struct v4l2_subdev *sd,
>
>
> regards,
> dan carpenter
>