Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp58369imj; Thu, 14 Feb 2019 15:18:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IZVYI1Lkd+KbCvLpSOZna8gnIb1pmtA01ZIRI12UexxptvCRnLUkxtFWMXHnXDUzz7A1+1B X-Received: by 2002:a62:5003:: with SMTP id e3mr6861345pfb.23.1550186281442; Thu, 14 Feb 2019 15:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550186281; cv=none; d=google.com; s=arc-20160816; b=ouuspZLI2szDN8eTW29vO4rK3+tajNqMalsSpcaqMyork7h6vebK68QFnO7x+T2PTA lprVr5Wsgxbuj/+fx6NFvryuUS/Ovh+BArXm+hG+fy2rJbpiMuErp6tGjC4fgpmup62w sFtfUnKhBRoW+j1XuE9HCTNINRgx5aYx1LqeqHAmBHplbrAk2M3pRe+ddL9+MCthESG2 Gfi7rKUMr8+tkAjUjuv18sOu4jp3ILZRYo9PaUtobPw+C0FyUxn5JFLcXOBDXVSOe+o4 GnJ92iXjI8O9i3z5rdJXKxADhtTVegjyIeB9m6yOsgGCkVNnABfWk8n+vpPXPf/zfshB G9bw== 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=/BCbpXJU558OBxkPl83z0DETzHnBLVsAQ2WNwp+N9mk=; b=E5vvsl9NKKtakgPG2BiefdpIwtT5Q3GNhJgKGHMXMA/O1NF8uscn2+ZLNTJ8P0hrcN LtnltvmSsYJTD8AkhDLsBdlyDIZycaw8Udy6JSX3rMpbiIFJn7B+EUcrs1NrwwtYNpFX F94lWs2+OA+0oneoLv5z5nctheWRJU0UajtXtCEYWduUs3Ewv6E77OBdAS84zSSRef+Y zqHjU1VjVNO1LUjMLeTVlXh1+c53n6nY+scNMB6jcR0u28iepU4Vi1y6iqLqIk8sk819 TR9NuQPMmX3R+lwNGYFt3XitjpmGGWU/EFfPO/xiUkr0ZWImtkxhkqwXzy3Hd3g9I46l PRGw== 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 y14si3885455pgo.363.2019.02.14.15.17.43; Thu, 14 Feb 2019 15:18:01 -0800 (PST) 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 S2406944AbfBNMqa (ORCPT + 99 others); Thu, 14 Feb 2019 07:46:30 -0500 Received: from mx2.suse.de ([195.135.220.15]:60624 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727958AbfBNMqa (ORCPT ); Thu, 14 Feb 2019 07:46:30 -0500 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 C0911AE3B; Thu, 14 Feb 2019 12:46:28 +0000 (UTC) Date: Thu, 14 Feb 2019 13:46:27 +0100 From: Petr Mladek To: Greg Kroah-Hartman Cc: John Ogness , linux-kernel@vger.kernel.org, Peter Zijlstra , Sergey Senozhatsky , Steven Rostedt , Daniel Wang , Andrew Morton , Linus Torvalds , Alan Cox , Jiri Slaby , Peter Feiner , linux-serial@vger.kernel.org, Sergey Senozhatsky Subject: Re: [RFC PATCH v1 03/25] printk-rb: define ring buffer struct and initializer Message-ID: <20190214124627.pmvsw3hsgvywmn32@pathway.suse.cz> References: <20190212143003.48446-1-john.ogness@linutronix.de> <20190212143003.48446-4-john.ogness@linutronix.de> <20190212144640.GB17291@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190212144640.GB17291@kroah.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2019-02-12 15:46:40, Greg Kroah-Hartman wrote: > On Tue, Feb 12, 2019 at 03:29:41PM +0100, John Ogness wrote: > > See Documentation/printk-ringbuffer.txt for details about the > > initializer arguments. > > You can put that documentation here in the .h file and have it pulled > out automatically into the documentation files when they are created. > That way you always keep everything in sync properly. Yes, please, move the documentation into the sources. It is so easy to get the info via editor+cscope support than via an external text file that many people do not know about ;-) For example, see include/linux/livepatch.h for inspiration. Best Regards, Petr