Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp923964ybh; Wed, 11 Mar 2020 13:38:59 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs83stlAbdS8mXvW0mZlGqV2K19kAzo0v+QqzZCQ3u5AW8i+O2XlyUwVlrG96Euy/Je9sn2 X-Received: by 2002:a4a:3b50:: with SMTP id s77mr1583824oos.53.1583959139130; Wed, 11 Mar 2020 13:38:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583959139; cv=none; d=google.com; s=arc-20160816; b=Ir1ej8+1ZNsYxyoW59OEcRI9yN9Itk3dIJEihtvsxVzItT8wuPlz+HLu9e3zPZcKoT aEjoqWGvVI5HGkEY1kzTOK3jODkKS09Cibd3raRkhcClNzMMWC2KgBbK3H8fjxl5A+UO Cyziyl+ia/gwFZbeu2YbZfTACVlcXCMgIg6XoYeiMXePT0amkA9RhPTvo40a3a+vSsJU 3ZcgcLPTxRGFVC4rghyxgbi5/kagPZPSWpo2HqIZSxJdUnbEHbAvxyer16Rm+k1Jc4gA QRdAu0nNz5PRrTin86Xxu2lxotKnG2cc0REvFIjqHhLcqIhWeURXUuOO04m7c+nCAY+S YrfQ== 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:dkim-signature; bh=3hYQEX/tomyIOsSexIuldCUpSADhNxZ8eQYnaEcFn18=; b=SZhmBRYI5JfxPyAPTAGZKl9o6Cx9eb7R66LdsMGquH+dOZ7p2Yo4OOqd5a2SSgcDWv rDivIfCrRS0s3lYZwqkiuyWs92ah7CVSkEDZDmacFklQxTIa8uHdBMhbOB7bqtkiBJga 1IM0MpSQwiOQCzG+/v6cAroOI8G+G/UguUKZNNUAhvCIC+ZKfoXWisENaRSoXDEyrPyA vnuJmKApSslajFsaraiorsB6vFuAGPCYSZ/s2+IiL2a+1+gzDu3jTGtpfOMQN1jnKWxV Ntkd9GN6WGwl9Y7iyddLConuNOZSn+HbkzN1aJIgr1tv7dXhmF6oWfO0GS0G5XM+Uvz4 e8Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=IfAh+L8Z; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h7si631306ooe.35.2020.03.11.13.38.46; Wed, 11 Mar 2020 13:38:59 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=IfAh+L8Z; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729067AbgCKUi3 (ORCPT + 99 others); Wed, 11 Mar 2020 16:38:29 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:59420 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726684AbgCKUi3 (ORCPT ); Wed, 11 Mar 2020 16:38:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3hYQEX/tomyIOsSexIuldCUpSADhNxZ8eQYnaEcFn18=; b=IfAh+L8ZczZRtFfoWmsl9z/ye XcfBseejrsr3l1sZrmLXzEBAfftLamurehbQuN625BX+V+gsTLyAK2pcZbI+BkVMsr0tzka7O0ClM kfg60MDbLmQQpQu1gtlJPVWK6xGkExmPKhH23r1GblU6JZL+oImiRRDzmmZBhdM72jIPF7nUzuf6f 37UhPl9ek5oMESkdqvvCiawQCtNIXjP4+9M6nBveQ4MWzS6KedxOzb73EIqlHhUUKJudj49csc/Y6 VXBhVIdgylGq/uei+lT3PJ6dp5U0QM+A5GQUqP29qoLaT65VkEy1/QSkCDF7kNKeNbkU4mU1BvbNr CkD7H8ZOA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:35140) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jC87P-0005PG-LZ; Wed, 11 Mar 2020 20:38:24 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jC87O-0005ce-3f; Wed, 11 Mar 2020 20:38:18 +0000 Date: Wed, 11 Mar 2020 20:38:18 +0000 From: Russell King - ARM Linux admin To: peter@bikeshed.quignogs.org.uk Cc: linux-doc@vger.kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jonathan Corbet , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] Reformat return value descriptions as ReST lists. Message-ID: <20200311203817.GT25745@shell.armlinux.org.uk> References: <20200311192823.16213-1-peter@bikeshed.quignogs.org.uk> <20200311192823.16213-2-peter@bikeshed.quignogs.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200311192823.16213-2-peter@bikeshed.quignogs.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 11, 2020 at 07:28:23PM +0000, peter@bikeshed.quignogs.org.uk wrote: > From: Peter Lister > > Added line breaks and blank lines to separate list items and escaped end-of-line > colons. > > This removes these warnings from doc build... > > ./drivers/net/phy/sfp-bus.c:579: WARNING: Unexpected indentation. > ./drivers/net/phy/sfp-bus.c:619: WARNING: Unexpected indentation. > > Signed-off-by: Peter Lister > --- > drivers/net/phy/sfp-bus.c | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/phy/sfp-bus.c b/drivers/net/phy/sfp-bus.c > index d949ea7b4f8c..df1c66df830f 100644 > --- a/drivers/net/phy/sfp-bus.c > +++ b/drivers/net/phy/sfp-bus.c > @@ -572,12 +572,18 @@ static void sfp_upstream_clear(struct sfp_bus *bus) > * the sfp_bus structure, incrementing its reference count. This must > * be put via sfp_bus_put() when done. > * > - * Returns: on success, a pointer to the sfp_bus structure, > + * Returns\: > + * > + * on success, a pointer to the sfp_bus structure, > * %NULL if no SFP is specified, > + * > * on failure, an error pointer value: > + * > * corresponding to the errors detailed for > * fwnode_property_get_reference_args(). > + * > * %-ENOMEM if we failed to allocate the bus. > + * > * an error from the upstream's connect_phy() method. Is this really necessary? This seems to be rather OTT, and makes the comment way too big IMHO. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up