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=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no 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 1A113C38A2A for ; Fri, 8 May 2020 12:20:10 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0A0B208D6 for ; Fri, 8 May 2020 12:20:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=xen.org header.i=@xen.org header.b="emYcw3Jh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0A0B208D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jX1yX-0000ej-3t; Fri, 08 May 2020 12:19:33 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jX1yW-0000ee-CH for xen-devel@lists.xenproject.org; Fri, 08 May 2020 12:19:32 +0000 X-Inumbo-ID: 2b767932-9126-11ea-9fe3-12813bfff9fa Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 2b767932-9126-11ea-9fe3-12813bfff9fa; Fri, 08 May 2020 12:19:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=9qzjDPmPt7faBUrRFNEd9DTpu6660M2T8Wn5nIMWlrU=; b=emYcw3Jh/e/FDlp3Wf1HQRnqLE 3OTCP0UHbOls/55yGtwvaNnbBNNls3Ql6MpUGIpK1b9n+94uwEZkxDxISxyvtzeFI7dg2WRaWyamR 2VI1rMcNcAOiufO49NzDFz9ptKRTwbI8fnYAo//+UnGJvfoXxbNt4bjJG7wUELwfgKCU=; Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jX1yR-0007YC-PR; Fri, 08 May 2020 12:19:27 +0000 Received: from [54.239.6.187] (helo=a483e7b01a66.ant.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jX1yR-00056U-IM; Fri, 08 May 2020 12:19:27 +0000 Subject: Re: Xen Coding style To: Jan Beulich References: <8771c424-6340-10e5-1c1f-d72271ab8c1b@suse.com> <38926d4e-3429-58bc-f43c-514aed253a8e@xen.org> <3b55f045-c6a0-af62-c607-3a85d38cea25@suse.com> From: Julien Grall Message-ID: <63d1ceac-81bb-c916-d403-6f227b4d0ea8@xen.org> Date: Fri, 8 May 2020 13:19:25 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <3b55f045-c6a0-af62-c607-3a85d38cea25@suse.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: "xen-devel@lists.xenproject.org" , Julien Grall , "committers@xenproject.org" , "Woodhouse, David" , "paul@xen.org" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Hi Jan, On 08/05/2020 12:20, Jan Beulich wrote: > On 08.05.2020 12:00, Julien Grall wrote: >> You seem to be the maintainer with the most unwritten rules. Would >> you mind to have a try at writing a coding style based on it? > > On the basis that even small, single aspect patches to CODING_STYLE > have been ignored [1], Your thread is one of the example why I started this thread. Agreeing on specific rule doesn't work because it either result to bikesheding or there is not enough interest to review rule by rule. > I don't think this would be a good use of my > time. I would have assumed that the current situation (i.e nitpicking/bikeshedding on the ML) is not a good use of your time :). I would be happy to put some effort to help getting the coding style right, however I believe focusing on an overall coding style would value everyone's time better than a rule by rule discussion. > If I was promised (reasonable) feedback, I could take what I > have and try to add at least a few more things based on what I find > myself commenting on more frequently. But really I'd prefer it to > be done the other way around - for people to look at the patches > already sent, and for me to only subsequently send more. After all, > if already those adjustments are controversial, I don't think we > could settle on others. While I understand this requires another investment from your part, I am afraid it is going to be painful for someone else to go through all the existing coding style bikeshedding and infer your unwritten rules. It might be more beneficial for that person to pursue the work done by Tamas and Viktor in the past (see my previous e-mail). This may mean to adopt an existing coding style (BSD) and then tweak it. Cheers, -- Julien Grall