Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp532189rdb; Fri, 17 Nov 2023 06:03:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGJ2eIPJQpVHcXCZhXSPkx/W6j23YwYiSzvdUIT9CiqXrSAN2v4UA22MwSCKabT/SrKVEQ5 X-Received: by 2002:a05:6808:2ca:b0:3a7:1b28:4bc9 with SMTP id a10-20020a05680802ca00b003a71b284bc9mr19475236oid.54.1700229815069; Fri, 17 Nov 2023 06:03:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700229815; cv=none; d=google.com; s=arc-20160816; b=UmwS3F8qQraDjbdbT954mpD2aiVk5dMMJeVG4bykPpwo8fynO0pCaXGgdl+3HzyHDq yo9maNu1Y37VEe25/+QWUYtGIgH9ok7YFMgCrvYmfuAJCHbhbNMLU1QLBSfQRi1SMNc8 hBLOPx64XYOeO/F5q+fTMWvDTJI/h+LNVFvbdyVsEMy7AQEfFbpgCcPGuVnr4wKvnAFj IdghZ6VYU9ZAmqn2zywNnat4aV24/Hdyy9gJKNHIJkpOZWLPkGYtYV5xL5q7gXmZy2rX HPsWwW0NERH1DvVwkuNFsCkzBnRt4fN7Ftf30QLJwI8ylkGg1ib4tOU9obCjjWdL8R1Q RXWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/dMNdv/9lL0Ayh24Iv+EyB4tR0GO6MZM8SVdm0Iiaz0=; fh=8lvm2OOZt75tKkuYfRGL6CtjvMASMuAJ0Ie0UMLxAdI=; b=qJ79LfIKLPQHqdAUimQ3BMBUylCdIsV6Z2ggaKACWvGRyKVGAZcmUnrCHGJvgqtlqJ MvQE1yDzBBpIkBw+5OjhawPhpgHudypYl2+0Jj9NkdZe45h0OGsV2Hm5ufeXgf7j+rIe oAG873iqXdpsHEK/RAdghs7vMNihV+IB/qAFKjNzWeeGi046Lx3w9qpaClaycspDUDW2 I7an7BM3PlR1Kvsw/zUBtCZuMB3tT1KfTZV4TMsfOpt7NQWfQC3N16Xt3EgmKjzjO5RH dFxFCt3rsOXbxB8+lzks2arjwhY/2LdY8FJc9h8He6Fc1qkpge9y7yYmOvUOTu67uhqM PGLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jDU74y+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id eq24-20020a056808449800b003b6dd37cbf5si631632oib.99.2023.11.17.06.03.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 06:03:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jDU74y+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id C1E5081EB9CF; Fri, 17 Nov 2023 06:03:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbjKQODZ (ORCPT + 99 others); Fri, 17 Nov 2023 09:03:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbjKQODZ (ORCPT ); Fri, 17 Nov 2023 09:03:25 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4A98A3; Fri, 17 Nov 2023 06:03:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8321EC433C8; Fri, 17 Nov 2023 14:03:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700229801; bh=+YyWYw/YzYJ+SPOs/yiZevHVY0O0qocR6W15SI2TW+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jDU74y+5cXrh06NB2CxYyBRr1mU1l22/wxgbBKqx0psUVhiEdgtG2EervVZOQg1zD H9NTbgQzvCFrY0t6SMhJUhJCeswoZ05RkCu+Y+oYqJIvJcXyEqeMToJbi1r0gYnKg8 lPhPbOKBw29M+ITZOsdBV1c9OhJ7ZwrlI0IImxDVRJ77HMdeZGycumPmA233Wi8I97 DYGPfSaT2CCIAy41n1FXeNKbArse/uxSwpkvoCirBDD8TcFG+DVLFc76ftKHMl5qF1 XLYLIsEvSvmuxx3GFo0zJSKhsaBIYVbLkMyUj6RJxmtjcmV6q9arbWNYkiiKMshd4O C4TodqHX9b+TQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r3zRM-0004DS-17; Fri, 17 Nov 2023 15:03:24 +0100 Date: Fri, 17 Nov 2023 15:03:24 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: Johan Hovold , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Nirmal Patel , Jonathan Derrick , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] PCI: qcom: Clean up ASPM comment Message-ID: References: <20231114135553.32301-1-johan+linaro@kernel.org> <20231114135553.32301-5-johan+linaro@kernel.org> <20231117103227.GM250770@thinkpad> <20231117105404.GR250770@thinkpad> <20231117112352.GS250770@thinkpad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231117112352.GS250770@thinkpad> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 06:03:31 -0800 (PST) On Fri, Nov 17, 2023 at 04:53:52PM +0530, Manivannan Sadhasivam wrote: > On Fri, Nov 17, 2023 at 12:00:44PM +0100, Johan Hovold wrote: > > On Fri, Nov 17, 2023 at 04:24:04PM +0530, Manivannan Sadhasivam wrote: > > > On Fri, Nov 17, 2023 at 11:48:10AM +0100, Johan Hovold wrote: > > > > The coding style clearly states: > > > > > > > > The preferred limit on the length of a single line is 80 columns. > > > > > > > > Statements longer than 80 columns should be broken into sensible chunks, > > > > unless exceeding 80 columns significantly increases readability and does > > > > not hide information. > > > > > > > > Going beyond 80 chars may sometimes be warranted for code, but the > > > > exception is not intended for comments. > > > > > > Breaking the comment here is indeed making it hard to read. It's just one word > > > that needs to be broken if we go by 80 column limit and I won't prefer that, > > > sorry! > > > > Please read the above quote again, it is as clear as it gets. 80 chars > > is the preferred limit unless (for code) exceeding it *significantly* > > Where does it say "code" in the Documentation? As I read it, the doc weighs both > code and comment as "statement". No, comments are not statements (in C). You'd also never even consider interpreting it that way if you knew where that exception comes from (namely that people break long *statements* just to fit under 80 chars, thereby sometimes making the *code* unnecessarily hard to read). > And how on the world that breaking a single word to the next line improves > readability? I fail to get it :/ You got it backwards; you should only go *beyond* 80 chars if it "significantly increases readability". But again, this does NOT apply to comments in the first place. > > increases readability, which clearly isn't the case here (even if this > > exception applied to comments). > > > > I really don't understand why you keep insisting on this. Just fix your > > editor. > But I do not want to get into a spat here. Checkpatch, the tool supposed to > check for the kernel coding style is not complaining and I do not want a patch > that _fixes_ a coding style that is not an issue. Checkpatch is just a tool, not the standard, and knowing when it is ok to break the 80 column rule for code requires human judgement. Johan