Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2323786ybi; Thu, 20 Jun 2019 13:03:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVfnHRoygdSf9xk0iBJKvZGTsEu4/ng5kbFUyVSTXTyFTsRW4mE08JZGa5QmiffY67bRmE X-Received: by 2002:a17:902:2ae8:: with SMTP id j95mr85152421plb.276.1561060981384; Thu, 20 Jun 2019 13:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561060981; cv=none; d=google.com; s=arc-20160816; b=MH+l1iMTXUY6t6VhYGrxDbzhdO75yBhDDzb4MaY6rbIp5RdNRBrsRUwkejDmj4FKzl DsFW8vRlwWV2at95vZ1w3fR1QyMOkhnJErrGlAJCFTptCdJ72kG/ngI99XVzlS2OzBfn yZFOpCcj1mcaUwtZ+8HX3ZMT/zqGpeP0tU9h44qUoh1C7Yz1gBlN+Vts3xTjbCdiLEpi W34q8UcjSdvk5jMqrUNnSCO2xcvvsUEc9jfJ72UMxC24GEHDzoQCbENSIbO3Xa39jSpS +JHD03pteHkExNLuCvBggLl1zOso/8eEwUKEmHhJGG2FYRbokggY/Q3hqmjkvoZWtpFY Hv8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=pduWqPMUgg+DW+LhiA7weEO5y3UfCGMcj3dGNME5+RA=; b=X22YI5Zafx5LbHIzsqoTQL1WxRat83I++WEYriDb53QZP/8mIEnFl5d6+T3amCPXpQ j05vv6ikunGQ68FFyf988RmCbVWrabTVncnbvYoKYo5e/Lvvagmz4G46HTLhWcR4XhHx /o/Zgwgy+Zjr9eflWAooAW10qnf/OLXGPUL/mhfup0WViDpUjIv6O2eoZbi7/Hl5bwER EbNMa2EIPLjIrxpkll49qJ6uF6nlEuNXLWAEcfKQUFd0VJWkqQ62zFDW4jGfG7rx0a0k /f4NZa/Ed3R9Gc8hThu6gQwLaGiCkNh6ABqfpUJu+XwqYQzmIme+q4C54r7t2GRLmbEC AqHg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g10si601427pjp.74.2019.06.20.13.02.45; Thu, 20 Jun 2019 13:03:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbfFTUCf (ORCPT + 99 others); Thu, 20 Jun 2019 16:02:35 -0400 Received: from ms.lwn.net ([45.79.88.28]:47508 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfFTUCf (ORCPT ); Thu, 20 Jun 2019 16:02:35 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 8ED33536; Thu, 20 Jun 2019 20:02:34 +0000 (UTC) Date: Thu, 20 Jun 2019 14:02:33 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: [PATCH 4/6] time: hrtimer: use a bullet for the returns bullet list Message-ID: <20190620140233.3d7202ee@lwn.net> In-Reply-To: References: Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Jun 2019 15:51:20 -0300 Mauro Carvalho Chehab wrote: > That gets rid of this warning: > > ./kernel/time/hrtimer.c:1119: WARNING: Block quote ends without a blank line; unexpected unindent. > > and displays nicely both at the source code and at the produced > documentation. > > Signed-off-by: Mauro Carvalho Chehab > --- > kernel/time/hrtimer.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c > index edb230aba3d1..49f78453892f 100644 > --- a/kernel/time/hrtimer.c > +++ b/kernel/time/hrtimer.c > @@ -1114,9 +1114,10 @@ EXPORT_SYMBOL_GPL(hrtimer_start_range_ns); > * @timer: hrtimer to stop > * > * Returns: > - * 0 when the timer was not active > - * 1 when the timer was active > - * -1 when the timer is currently executing the callback function and > + * > + * • 0 when the timer was not active > + * • 1 when the timer was active > + * • -1 when the timer is currently executing the callback function and > * cannot be stopped So I have taken some grief for letting non-ASCII stuff into the docs before; I can only imagine that those who object would be even more unhappy to see it in a C source file. I'm all for fixing the warning, but I think we shouldn't start introducing exotic characters at this point... Thanks, jon > */ > int hrtimer_try_to_cancel(struct hrtimer *timer)