Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp985060ybl; Thu, 22 Aug 2019 07:46:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwMsVWH7/BJgCv2eBNnw7UGcOKgIlQxrC77kTY1sEbHtcwI9TrZ7pwCRPy82Wq4bAXWqt2F X-Received: by 2002:a65:4205:: with SMTP id c5mr33582390pgq.265.1566485212677; Thu, 22 Aug 2019 07:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566485212; cv=none; d=google.com; s=arc-20160816; b=SPNONZU2jpl2eQBpHyfV5iWbdfH3uxQcgcK4/rwbxt3O7TMwohl05KFtsbH9iKKHpG vdcTMlJqV7+CPG1Emi7fb3teYUL0GBXDXmNe2qiLVpsz0rc/+n0tO2lG8hMmN1cjL+Fw uifWklqgScDqKPshOKMwMzitdpCfy0oVcYHH4SSUGoSQgHp4lShMA8sAcrU9tQ0CbWmL +QUD3LbeHgmeA8DotnwQP5PSUdKc3a/DtDEVGnD30s9KBTiVGkRnsILL7UG0xQthKzl0 5u7byFYPPMDGbpm3T02Ff8/Ams5CMXf6TRkqppRDn0P0c9PiffNSmemKbjRhWM1WyvJN Hy0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oTsPbR/aXlClQNvJ65N9pzoGdK3clopIFJIobAzkbt0=; b=CZBOznzwepU4mSZsSkt7Xe0sgVwrqE0H3XxiDIUbos9gXP1XI6pu68YTaBtmHLTJ4J lrB12HWuQ6CG3wur3bQN8012VS7W+Q/bG/3kTMvPxZT7vkpw8GKW1y2Fm+BnZpvs4uR9 ngnhAKLhS3sAmmE2ooNF+DsPPEaPD1D79dYJOLPlv1W1mHkkNC1zOYUoYnCpfi0UboXM 0r3C0uC6b0P0avmQOh81rZn0UjPK9omoWWJhcqOPsjn65ue9CZCBQZtWaoDvW8ZfPwc5 xHwa2JTX98OaWsa+WoBPOcsq+slCNdBk6dn6zLj4KPDn+pP1SMY+JryIgQKo7qx6LyV5 5c7Q== 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 s11si17019814pgm.412.2019.08.22.07.46.36; Thu, 22 Aug 2019 07:46:52 -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 S2387904AbfHVMo3 (ORCPT + 99 others); Thu, 22 Aug 2019 08:44:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:42376 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2387868AbfHVMo2 (ORCPT ); Thu, 22 Aug 2019 08:44:28 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DB271ACD8; Thu, 22 Aug 2019 12:44:26 +0000 (UTC) Date: Thu, 22 Aug 2019 14:44:26 +0200 From: Petr Mladek To: John Ogness Cc: Andrea Parri , Sergey Senozhatsky , Sergey Senozhatsky , Steven Rostedt , Brendan Higgins , Peter Zijlstra , Thomas Gleixner , Linus Torvalds , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: comments style: Re: [RFC PATCH v4 1/9] printk-rb: add a new printk ringbuffer implementation Message-ID: <20190822124426.3qw2rm6f2xw4m2fy@pathway.suse.cz> References: <20190807222634.1723-1-john.ogness@linutronix.de> <20190807222634.1723-2-john.ogness@linutronix.de> <20190820085554.deuejmxn4kbqnq7n@pathway.suse.cz> <87h86bf50e.fsf@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h86bf50e.fsf@linutronix.de> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2019-08-21 07:42:57, John Ogness wrote: > On 2019-08-20, Petr Mladek wrote: > >> --- /dev/null > >> +++ b/kernel/printk/dataring.c > >> +/** > >> + * _datablock_valid() - Check if given positions yield a valid data block. > >> + * > >> + * @dr: The associated data ringbuffer. > >> + * > >> + * @head_lpos: The newest data logical position. > >> + * > >> + * @tail_lpos: The oldest data logical position. > >> + * > >> + * @begin_lpos: The beginning logical position of the data block to check. > >> + * > >> + * @next_lpos: The logical position of the next adjacent data block. > >> + * This value is used to identify the end of the data block. > >> + * > > > > Please remove the empty lines between arguments description. They make > > the comments too scattered. > > Your feedback is contradicting what PeterZ requested[0]. Particularly > when multiple lines are involved with a description, I find the spacing > helpful. I've grown to like the spacing, but I won't fight for it. I do not want to fight over it. Just note that >90% of argument descriptors seem to be one liners. Best Regards, Petr