Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1643534pxb; Sun, 18 Apr 2021 02:23:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9o7D847kXxl7Us4tgtyBLARjA/+Dj1gM08z17aCRaTUdhp+MgbnWi7e4yfQNcB0BRZohw X-Received: by 2002:a63:6f8e:: with SMTP id k136mr6949982pgc.326.1618737806839; Sun, 18 Apr 2021 02:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618737806; cv=none; d=google.com; s=arc-20160816; b=d6fCWgeWn8T/dc4F9oxSPikKV5vl3kgfyc7tZlKFCaBvb7D8tkxi63Gv60HCCK2T9X DUyUbeR251dWGCKIcxtrP0L65KGJFJm31A/Eru0UFKPA3QNrILhKGfcVJTEq7v5wTuYB 4n4UuPzLTr5xSjARl+YgR9WKZypEA/jFof1Cx3U/zHRwMqKdDXXrM0exylLg6K+BDYR8 h0rzXJAtdX8OgcBDmNQhwgW/b/jmvcG8OMWavTVlCEsEcfAy9/pCOVUS+yOxIlw2KZgg wKGnVjVRPj3hf9icRpo4feqvlNbc6zlhnAS8pFClfPAbHGND+j4wpWsnrWN67UWm4dnm l3CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=1k+xd+FF5JWHlHRTIVdPnF+amjkmMLJPSdfVulo8G7I=; b=BucqpjJO12i27XXXoCutrqYvkLwWyu4R3JbjcRPbgf9DSc3eAfhKaQjwSCerEEF2xH 5QMvC6Myc8j3WYtDXBEM9swxs3qpFFjD0PEp+0X+TovC3qjB3h9GrGjR+r0QxO1EJG3N cfUNWrjDE8h4mvgfjqBz2TnsoCJa8hr420whvnjw+1261FbRHptcTKXwL7kLvpe53Iwh +/H666QdSCMLKMTCbUL6nwi1XWRWjDvxo04cfPIiVL0iYBH0BaJb/m45p+q7b8NcpcFe k/L3rNvkAzhX/flrXytRSMoF5W5AZJYox3wvCSOc1NniAZ9vvhI5kauxPFIIilFSZS8p Ek9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b15si14608806pfd.331.2021.04.18.02.23.14; Sun, 18 Apr 2021 02:23:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229890AbhDRJXG (ORCPT + 99 others); Sun, 18 Apr 2021 05:23:06 -0400 Received: from smtprelay0142.hostedemail.com ([216.40.44.142]:34040 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229652AbhDRJXG (ORCPT ); Sun, 18 Apr 2021 05:23:06 -0400 Received: from omf09.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id B6506837F24A; Sun, 18 Apr 2021 09:22:37 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA id 7EF201E04D3; Sun, 18 Apr 2021 09:22:36 +0000 (UTC) Message-ID: <3886b37dacd9fcf84d5211322807128e638a8222.camel@perches.com> Subject: Re: [PATCH] base: power: runtime.c: Remove a unnecessary space From: Joe Perches To: Sebastian Fricke Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek , Greg Kroah-Hartman , linux-pm@vger.kernel.org Date: Sun, 18 Apr 2021 02:22:35 -0700 In-Reply-To: <20210418091143.6h466qqd52uf766z@basti-TUXEDO-Book-XA1510> References: <20210418060800.8833-1-sebastian.fricke@posteo.net> <794c957472f826b0f2860aecd365376266e2253a.camel@perches.com> <20210418091143.6h466qqd52uf766z@basti-TUXEDO-Book-XA1510> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.10 X-Rspamd-Server: rspamout02 X-Stat-Signature: jgsdes5bntddszuzbtw99cra7umjj1nx X-Rspamd-Queue-Id: 7EF201E04D3 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX18SzM71Q7R3c8oA5j/PRmWppAoksvQ0KFY= X-HE-Tag: 1618737756-628855 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2021-04-18 at 09:11 +0000, Sebastian Fricke wrote: > Hey Joe, Hi Sebastian. > On 18.04.2021 00:09, Joe Perches wrote: > > On Sun, 2021-04-18 at 06:08 +0000, Sebastian Fricke wrote: > > > Remove a redundant space to improve the quality of the comment. > > I think this patch is not useful. > > It's not redundant. > > Thank you, I actually found this pattern a few more times but I wanted > to check first if this is a mistake or chosen consciously. [] > > For drivers/base/power/runtime.c, that 2 space after period style is used > > dozens of times and changing a single instance of it isn't very useful. Even in that single file it's not consistent. It's something like 3:1 for 2 spaces over 1 space after period. I believe it's done more by habit and author age than anything. If you learned to type using a typewriter and not a keyboard, then you likely still use 2 spaces after a period. > True and if I understand you correctly you would rather keep it as is > right? Yes. IMO: Whitespace in comments like this should not be changed unless there's some other significant benefit like better alignment. cheers, Joe > > > --- > > > Side-note: > > > I found this while reading the code, I don't believe it is important but > > > I thought it doesn't hurt to fix it. [] > > > diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c [] > > > @@ -786,7 +786,7 @@ static int rpm_resume(struct device *dev, int rpmflags) > > > ? } > > > > > > ? /* > > > - * See if we can skip waking up the parent. This is safe only if > > > + * See if we can skip waking up the parent. This is safe only if > > > ? * power.no_callbacks is set, because otherwise we don't know whether > > > ? * the resume will actually succeed. > > > ? */