Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1639988pxb; Sun, 18 Apr 2021 02:15:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXniU4eTjOUri1L/4xFp9Fum1JYvyIY3kI+IY3rumnojPQnhX9mvTTc2bOQsMzxRpcuJQU X-Received: by 2002:aa7:df86:: with SMTP id b6mr18224420edy.27.1618737348989; Sun, 18 Apr 2021 02:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618737348; cv=none; d=google.com; s=arc-20160816; b=W0bdsgW78tzDcG3CxTqrV3agXo4B2vR/2n1cI0KvpuB8DGLxY+5ILsGCEiCmmCI3IX Z9quIsqK68+t5aaxOnUjTYCdoSwSDp73/k4W50gL1l0e6/tr8IlZ3SpjP1lXvOJjnmfV hxS+0Mjd9TlBtYX8JF7KXWD/aZDsYV5+InIJQ0f0lFFiXBH9WxHZ2ZEoIgN6S8L8DCpq zTHz/EiA4xnHOxmxlCrnN3ZiQoSWi4D0TCOH8raZ6e7V8Yn8+EvzmSK7MTNta3xD7aVz vWJBVavADa36NgMK9PH2HcRB6GubiQO6U3257jCd0BrpmJk01xFJg1UOdwSod3tHbOPL Ayyg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Nhqccdg7S236MsPP5yXIEV+p13qs3rRYc32l+7jrSLA=; b=bSP65Tjo55m1ZMkXfn9Km+ZwV/WqZC5NGnV7woreUF5rS8onxcAxL1DyiUD5LX3Pjv WnJWNC85t2Mx+m9PEL4FliySa/giZGUi1i5GULmLa3JAVevqvHo5ADMlcb8jhHHG6PFD dCfGYvt4l3ilYbk634ZuK5EclV2Wf02ft+qJ8sG+tlzpbWbxdOf20T9tVhPqGOF1Ips6 rR5qwBadMmdKO5hju5XqhAAB551aFH//3y8r4ghvoh868JWv09zATbyyRRgLoAKS1DbL 6oxJKW1sVR3WqyLoHncPcmOIlRbYGUwIGkigEcwLe8/zwbR90ZEPOR6DIfYgpDdyj5g8 WzrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=WM3XWGKt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si8880514ejc.143.2021.04.18.02.15.25; Sun, 18 Apr 2021 02:15:48 -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; dkim=pass header.i=@posteo.net header.s=2017 header.b=WM3XWGKt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230096AbhDRJMP (ORCPT + 99 others); Sun, 18 Apr 2021 05:12:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:58889 "EHLO mout01.posteo.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229652AbhDRJMO (ORCPT ); Sun, 18 Apr 2021 05:12:14 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 695F7240026 for ; Sun, 18 Apr 2021 11:11:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1618737105; bh=WKRW0XXKC2fipPBs9zdITrBVtmnVHuSd55wYWDnZwxo=; h=Date:From:To:Cc:Subject:From; b=WM3XWGKtXKYrHGYNzvnlhUgABC6QSkTTOkdOaAAAymeby4Tgdzla/05eFd/B++32z ZQkt6y4BCX2Vb3532nCFSlbZXw7PDoICdateI+jSzWSDDdKoK2FUoKWgDyKV6HBDVC vL6wCanPDGodKMnJPRKTmV3wEl3SNQ7j9zaYC1a/WZzNoQ7hDwC+A6ZtiFB7efXIKm NVf7Ij4aTN5w5gsupjHjfv2+XLr4paJxKwN0iNjqOxVl9px2EUMMXgrLqZHoSwhbdb ptnSB2q14J8X/u0pftHINFBhv9gfizl13IQ1A+9w9uZhHfYS6VNAcokrOmEnWNgI9Y lqo0e6DJIk+PQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FNPMh1d41z6tmG; Sun, 18 Apr 2021 11:11:44 +0200 (CEST) Date: Sun, 18 Apr 2021 09:11:43 +0000 From: Sebastian Fricke To: Joe Perches Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek , Greg Kroah-Hartman , linux-pm@vger.kernel.org Subject: Re: [PATCH] base: power: runtime.c: Remove a unnecessary space Message-ID: <20210418091143.6h466qqd52uf766z@basti-TUXEDO-Book-XA1510> References: <20210418060800.8833-1-sebastian.fricke@posteo.net> <794c957472f826b0f2860aecd365376266e2253a.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <794c957472f826b0f2860aecd365376266e2253a.camel@perches.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Joe, 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. Sorry for the noise. > >Two spaces after a period is commonly used to separate sentences. >It's especially common when used with fixed pitch fonts. > >A trivial grep seems to show it's used about 50K times in comments. >Though single space after period may be used about twice as often. > >$ git grep '^\s*\*.*\. [A-Z]' | wc -l >54439 >$ git grep '^\s*\*.*\. [A-Z]' | wc -l >110003 > >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. True and if I understand you correctly you would rather keep it as is right? Greetings, Sebastian > >> --- >> 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. >> --- >>  drivers/base/power/runtime.c | 2 +- >>  1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c >> index 18b82427d0cb..499434b84171 100644 >> --- 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. >>   */ > >