Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp875480ybh; Wed, 11 Mar 2020 12:35:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsnD5AGJ9PKjjiXyXup2mQY78m0MnBdIIut2R//mzHxvv3WbRg/D+k7HWAigajrsePzRHXx X-Received: by 2002:a4a:4c46:: with SMTP id a67mr1399358oob.1.1583955338574; Wed, 11 Mar 2020 12:35:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583955338; cv=none; d=google.com; s=arc-20160816; b=eqbcX/+2LMiI4iTd/lF8k5h91K9EaMCUwAZ69HKGUU1FHap52kLWVYA6Dpq4+ApaDz RtaYmAI43+Aau70u9xkhWo3pOA5Zqwnfbk3cXnEnz94OaG5TELdV9R9ezp/nb79wsNx9 6WxFiiM45qF6q7t6wnnZociyRbtCNAVt6WnCsG3suY0XI997N5wI7K+x6jymVbRs6JLn aFj4MTIDK3dSVDntfqmakGBShLn62sNm4mUJrK78Jq0NEvzpDNn5QX2L3mr/cFiwq9n5 PAbCrS9DrV3WIG7vIcp5VYe6kceB/v161kZLob8vqnu6giM2Ga9jSPpQBNJk9dvKXsuT A+4g== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=yhCNcbOgWRpxG1GA+bf+V3wrqcZUU53LtH7wUlen/3Q=; b=eUEp4SphG3qSDbUECcXv8FU/wpYZpHuVFdHdX0Ecs717DAYup+eWGZIEfP3gG6B8SO 9pG5+UY6mhnGqtCDAtUipLzVGG1MBn6twkIcYU4sEHQcQYagmCdCtpvebsJrKkCpxQi1 azPSpw5WCzHM5/KYrZWvJU3TLjd4OmDShL4PMaPNkRadnnpJlgjeB9DX2EcxNnwNu9L0 acfeRnNd6sKuOhkPdqxerFIcHeTzp4d5gyLyOJ/BmMHq9tCNgLirYOLcIUWKEWmrBkAt SZmUzrkEV68jKFURm6wVZyXpejurobLpAiKjJUmoRZj9pmAzUio4YkDAHpUIDWeJiKNp WhgQ== 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 u125si1464209oie.52.2020.03.11.12.35.26; Wed, 11 Mar 2020 12:35:38 -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 S1731431AbgCKTeA (ORCPT + 99 others); Wed, 11 Mar 2020 15:34:00 -0400 Received: from balrog.mythic-beasts.com ([46.235.227.24]:37785 "EHLO balrog.mythic-beasts.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731414AbgCKTd7 (ORCPT ); Wed, 11 Mar 2020 15:33:59 -0400 Received: from 204.33.90.146.dyn.plus.net ([146.90.33.204]:40284 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 1jC728-0001Gt-6D; Wed, 11 Mar 2020 19:28:48 +0000 From: peter@bikeshed.quignogs.org.uk To: linux-doc@vger.kernel.org, netdev@vger.kernel.org Cc: Russell King , Andrew Lunn , Florian Fainelli , Heiner Kallweit , Jonathan Corbet , linux-kernel@vger.kernel.org, Peter Lister Subject: [PATCH 1/1] Reformat return value descriptions as ReST lists. Date: Wed, 11 Mar 2020 19:28:23 +0000 Message-Id: <20200311192823.16213-2-peter@bikeshed.quignogs.org.uk> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200311192823.16213-1-peter@bikeshed.quignogs.org.uk> References: <20200311192823.16213-1-peter@bikeshed.quignogs.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BlackCat-Spam-Score: 65 X-Spam-Status: No, score=6.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. */ struct sfp_bus *sfp_bus_find_fwnode(struct fwnode_handle *fwnode) @@ -612,12 +618,18 @@ EXPORT_SYMBOL_GPL(sfp_bus_find_fwnode); * the SFP bus using sfp_register_upstream(). This takes a reference on the * bus, so it is safe to put the bus after this call. * - * 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. */ int sfp_bus_add_upstream(struct sfp_bus *bus, void *upstream, -- 2.24.1