From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F26FAC433B4 for ; Thu, 29 Apr 2021 11:32:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B448461151 for ; Thu, 29 Apr 2021 11:32:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232455AbhD2Lc4 (ORCPT ); Thu, 29 Apr 2021 07:32:56 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:36384 "EHLO msg-2.mailo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230148AbhD2Lcz (ORCPT ); Thu, 29 Apr 2021 07:32:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1619695910; bh=d3uPdEXE1jNAZ54QKIFbLqD5wKoRL+q+9gPNpRFnQIw=; h=X-EA-Auth:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:In-Reply-To; b=LZsok5TotTifFAujfAN9dRlgA5JB2P4OgCNd1ghlSOEPrPBi5IQxxRCdW3Zb3boz7 GNxdyI9hLomBtSVKS7SrKLwpwmzY2HjcW5AS+WkWECPrZAhV5NKzMGkAkeEDDq6P5i 0Uko0t8E4OwpwctefKBpb8oN+hpXDrKJuLHn2wQM= Received: by 192.168.90.16 [192.168.90.16] with ESMTP via ip-206.mailobj.net [213.182.55.206] Thu, 29 Apr 2021 13:31:50 +0200 (CEST) X-EA-Auth: CX0bTBDMWFCx2SMkg6z9D2BIwVUjGxNmB0nEYowyJhWVMQ6M3qPxHOtdCEn3sTk1EckjJk8FvCJTxXNGgQMUroIbvLmS2QJE Date: Thu, 29 Apr 2021 17:01:41 +0530 From: Deepak R Varma To: Dan Carpenter Cc: Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, mh12gx2825@gmail.com Subject: Re: [PATCH v1 4/6] staging: media: atomisp: reformat code comment blocks Message-ID: References: <20210429100808.GZ1981@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210429100808.GZ1981@kadam> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >