X-GM-THRID: 929564721152 X-Google-Groups: outreachy-kernel X-Google-Thread: 9ca63f596c,e63c190f0f3ec0ee X-Google-Attributes: gid9ca63f596c,domainid0,private,googlegroup X-Google-NewGroupId: yes X-Received: by 10.112.131.106 with SMTP id ol10mr845987lbb.20.1424378165453; Thu, 19 Feb 2015 12:36:05 -0800 (PST) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.152.204.134 with SMTP id ky6ls29783lac.76.gmail; Thu, 19 Feb 2015 12:36:05 -0800 (PST) X-Received: by 10.152.45.7 with SMTP id i7mr835635lam.9.1424378165180; Thu, 19 Feb 2015 12:36:05 -0800 (PST) Return-Path: Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr. [192.134.164.83]) by gmr-mx.google.com with ESMTPS id o3si4238476wib.2.2015.02.19.12.36.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 19 Feb 2015 12:36:05 -0800 (PST) Received-SPF: neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) client-ip=192.134.164.83; Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 192.134.164.83 is neither permitted nor denied by domain of julia.lawall@lip6.fr) smtp.mail=julia.lawall@lip6.fr X-IronPort-AV: E=Sophos;i="5.09,610,1418079600"; d="scan'208";a="122576465" Received: from 198.67.28.109.rev.sfr.net (HELO hadrien) ([109.28.67.198]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Feb 2015 21:36:04 +0100 Date: Thu, 19 Feb 2015 21:36:03 +0100 (CET) From: Julia Lawall X-X-Sender: jll@localhost6.localdomain6 To: =?ISO-8859-2?Q?Ksenija_Stanojevi=E6?= cc: outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH] Staging: media: vino: Convert comments from C99 to C89 style In-Reply-To: Message-ID: References: <1424377421-20388-1-git-send-email-ksenija.stanojevic@gmail.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1576946617-1424378164=:2192" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1576946617-1424378164=:2192 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 19 Feb 2015, Ksenija Stanojević wrote: > Yes I know, the problem is similar to my previous patch, but two other > comments > are not related to this issue and thus require separate patch OK, it's a good point. A subsequent patch would be fine. julia > On Thu, Feb 19, 2015 at 9:31 PM, Julia Lawall wrote: > On Thu, 19 Feb 2015, Ksenija Stanojevic wrote: > > > This patch fixes the checkpatch.pl error: > > ERROR: "Do not use C99 // comments" > > > > Signed-off-by: Ksenija Stanojevic > > > --- > >  drivers/staging/media/vino/indycam.c | 6 +++--- > >  1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/staging/media/vino/indycam.c > b/drivers/staging/media/vino/indycam.c > > index f1d192b..8e223bd 100644 > > --- a/drivers/staging/media/vino/indycam.c > > +++ b/drivers/staging/media/vino/indycam.c > > @@ -34,7 +34,7 @@ MODULE_AUTHOR("Mikael Nousiainen > "); > >  MODULE_LICENSE("GPL"); > > > > > > -// #define INDYCAM_DEBUG > > +/* #define INDYCAM_DEBUG */ > > > >  #ifdef INDYCAM_DEBUG > >  #define dprintk(x...) printk("IndyCam: " x); > > You could consider whether you could get rid of dprintk, and > replace it by > the use of standard Linux debug logging functions, such as > dev_dbg. > > julia > > > @@ -324,7 +324,7 @@ static int indycam_probe(struct i2c_client > *client, > > > >       indycam_regdump(sd); > > > > -     // initialize > > +     /* initialize */ > >       err = indycam_write_block(sd, 0, sizeof(initseq), (u8 > *)&initseq); > >       if (err) { > >               printk(KERN_ERR "IndyCam initialization > failed\n"); > > @@ -334,7 +334,7 @@ static int indycam_probe(struct i2c_client > *client, > > > >       indycam_regdump(sd); > > > > -     // white balance > > +     /* white balance */ > >       err = indycam_write_reg(sd, INDYCAM_REG_CONTROL, > >                         INDYCAM_CONTROL_AGCENA | > INDYCAM_CONTROL_AWBCTL); > >       if (err) { > > -- > > 1.9.1 > > > > -- > > You received this message because you are subscribed to the Google > Groups "outreachy-kernel" group. > > To unsubscribe from this group and stop receiving emails from it, > send an email to outreachy-kernel+unsubscribe@googlegroups.com. > > To post to this group, send email to > outreachy-kernel@googlegroups.com. > > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/1424377421-20388-1-git-s > end-email-ksenija.stanojevic%40gmail.com. > > For more options, visit https://groups.google.com/d/optout. > > > > > -- > You received this message because you are subscribed to the Google Groups > "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/CAL7P5jK0AKAH1uZTO%2B2dy > ESqB9rD-Ystu0wfVE%2BgbayQO5u5wA%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > > --8323328-1576946617-1424378164=:2192--