From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=48342 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q5glK-0003X4-Sp for qemu-devel@nongnu.org; Fri, 01 Apr 2011 11:59:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q5glF-0003cI-KN for qemu-devel@nongnu.org; Fri, 01 Apr 2011 11:59:46 -0400 Received: from mail-yx0-f173.google.com ([209.85.213.173]:52088) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q5glF-0003bt-HL for qemu-devel@nongnu.org; Fri, 01 Apr 2011 11:59:45 -0400 Received: by yxk8 with SMTP id 8so1723031yxk.4 for ; Fri, 01 Apr 2011 08:59:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1301671255-27717-1-git-send-email-mdroth@linux.vnet.ibm.com> Date: Fri, 1 Apr 2011 16:59:44 +0100 Message-ID: Subject: Re: [Qemu-devel] checkpatch.pl: warn on C99 comments, but don't fail From: Stefan Hajnoczi Content-Type: text/plain; charset=ISO-8859-1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: Peter Maydell , qemu-devel@nongnu.org, stefanha@linux.vnet.ibm.com On Fri, Apr 1, 2011 at 4:52 PM, Peter Maydell wrote: > On 1 April 2011 16:20, Michael Roth wrote: >> We also make C99 //comments a warning instead of an error, since they >> don't actually violate QEMU's coding guidelines. > > We should either update the guidelines or fix the script... There are a whole bunch of // in the codebase. I prefer /* */ but as it stands I think // should not even raise a warning. Stefan