Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1002162ybh; Wed, 11 Mar 2020 15:23:32 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuvL2kCvnmNsoSPDPUiwj6Q6zc6EAKtS3cFzB0YhKd1do4pcCIzRKse+bfsl8Nb9Z6ms01J X-Received: by 2002:a9d:6750:: with SMTP id w16mr4080484otm.33.1583965412381; Wed, 11 Mar 2020 15:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583965412; cv=none; d=google.com; s=arc-20160816; b=pCMuR/TAZycYLg20WzQcLlBGbcqttDPXzzudiF15U4ckyPfwfa6+BQrGpnWleCmzNV /OvbOOBuGGrbiJsCLwKOibhI4MExTEyq68xseR/7ci9zAUDMG+ZVQoA7I4EehJL0wzLD 1L7hhHlVhIefFFL1BdClhiefVOqtpmBkcdLBV3tZXJCVIn5+MhD+KsgEg2nFODPNaK38 b2kyoL9/m7Z/7a43wALJetYYETrxLn6l+Zk01F610o4JnqoNOsLJJiNM8f1USuiVSVnO c9kjVvN8Q+vCeybkv4ai5JFkvt4yDRQWb+bhyHViKV5xzWYra17hbgTI8E1hv+MEsBkB tanQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject; bh=l0F50GO95MmXlZ0mMGOSTS27k17MYS3MB9bHofEe8FE=; b=0/AiZ4pHJvbQYiNXljqzoZmyuGg5zQ/SxC6ZGqtPDjfIUu//5g0lKlqjO3K0ytMhC+ LPJ4rSoyFtOAJUwQDBvPZHkdfjytbrCqr+c/9sF3kn2dXNnC7iJhyTlg8Ccu21GKfdMo pZPG0YxuMgyQzCQP2vYPHCXxgTQo+9IscYX/boU1bERyWaIK+6YEooNHDdhznyeNJRJ8 fQp3NR0iQ2Pjdu9xtfd3dlbgq2otwyY4JbQ12XVlxND17BjpCUBC3erhb2vQNITErRn3 dyZnhhGtaPVh0PYWDmg3Bpy4ekMNhGVW/HwgJIdqaaxA6/DEacYaG6cOCH/EsISc+IYu oDOQ== 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 t20si1757256oif.85.2020.03.11.15.23.20; Wed, 11 Mar 2020 15:23:32 -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 S1731218AbgCKWVt (ORCPT + 99 others); Wed, 11 Mar 2020 18:21:49 -0400 Received: from balrog.mythic-beasts.com ([46.235.227.24]:50643 "EHLO balrog.mythic-beasts.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729506AbgCKWVt (ORCPT ); Wed, 11 Mar 2020 18:21:49 -0400 Received: from [146.90.33.204] (port=40436 helo=slartibartfast.quignogs.org.uk) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1jC9jT-0006iO-6N; Wed, 11 Mar 2020 22:21:47 +0000 Subject: Re: [PATCH 1/1] Reformat return value descriptions as ReST lists. To: Russell King - ARM Linux admin Cc: linux-doc@vger.kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jonathan Corbet , linux-kernel@vger.kernel.org References: <20200311192823.16213-1-peter@bikeshed.quignogs.org.uk> <20200311192823.16213-2-peter@bikeshed.quignogs.org.uk> <20200311203817.GT25745@shell.armlinux.org.uk> From: Peter Lister Organization: Quignogs! (Bikeshed) Message-ID: Date: Wed, 11 Mar 2020 22:21:41 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200311203817.GT25745@shell.armlinux.org.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB X-BlackCat-Spam-Score: 14 X-Spam-Status: No, score=1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Russell, > Is this really necessary? This seems to be rather OTT, and makes the > comment way too big IMHO. The existing form definitely gets the formatted output wrong (I'll send you a screen grab if you like) and causes doc build warnings. So, yes, it needs fixing. ReST makes free with blank lines round blocks and list entries, and I agree this makes for inelegant source annotation. I tried to retain the wording unchanged and present the description as just "whitespace" changes to make a list in the formatted output - as close as I could to what the author appears to intend. If you're OK with a mild rewrite of the return value description, e.g. as two sentences (On success: p; q. On failure: x; y; z.), then we can fix the doc build and have terser source comments and a happier kerneldoc. All the best, Peter Lister