Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2243430ybh; Fri, 17 Jul 2020 12:49:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwg4OMqULmoykpmUVgEuzHrSE1WDHhS6T0VeXz5no+cZL2grtFN8+RkoHa06MiRLjSTXqYa X-Received: by 2002:a17:906:3958:: with SMTP id g24mr9819789eje.26.1595015381491; Fri, 17 Jul 2020 12:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595015381; cv=none; d=google.com; s=arc-20160816; b=H4u9OBQBjRmRUECnLXKMp6WqZqEfzmURJ8YZdfvZ0+rUuGukf1rxlzk2Pb/aIRl9m2 vXJSo9Jiv3QWxG9SBV2OPPdkBK+pDf6xzsmtg+irW0yFkHaSI81KGdVZV/BCB3iCi/ov L0rfzdrMmSKUX8v5LonetipZUUYnfbGVK5ZMlYtd8IjaX7dQBNuzXDHkjEt/axQ27Gb9 gP9cwYHeH4HrlMl4R+AtFWVcQtaxtBT1uaySf1Q21Yy3OckyenZIqdUwQTog4e3nlKwf vDOG96OWVSsO01kB1Visn+ZRsBZNscRihRVqZUwWvBWPdaE/4OSNDIrsAjEgvqH3kmc8 MEug== 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 :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=mK6X9j2TgDKwwNabdRdQYScLY93Hy9iot9AEYuixysM=; b=dIj168zgc/5iBjuqq9MXLAvfKXFTYoiV/wAhjCuloiZpAZqDpVJIfVUIsjqLc+tZLG qNq8YRg1eIJakY416VxsWOLm0zdfm7+pcHWX3KYg/m8frjtbw6csiEKRUi2rpfVGoZ9G PBcY2LcXLGoh93bPgYzYCKMxBnvYqh52/QcdRXGTBXyBUHKTvOJmTd0tniHBIWzpFfTM +lFY69pqoGm5GASmXtH8GRCXrezOCDnnm1vTWqO1rcDxoLdgFY3F3O0Qf7mkwhZJ7BpE qLH6wbyJE6fDexraELpmIbUl0IMc1weOWUE6XPE+PfgdspXR+k+51LEiJt7FnBQH2HTX oyaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q9si5880337ejx.730.2020.07.17.12.49.18; Fri, 17 Jul 2020 12:49:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728851AbgGQTsI (ORCPT + 99 others); Fri, 17 Jul 2020 15:48:08 -0400 Received: from smtprelay0214.hostedemail.com ([216.40.44.214]:50058 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728480AbgGQTsH (ORCPT ); Fri, 17 Jul 2020 15:48:07 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id A5E6B180A8158; Fri, 17 Jul 2020 19:48:06 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:355:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2693:2828:2895:3138:3139:3140:3141:3142:3352:3622:3865:3867:3870:3872:4321:5007:7514:7576:7875:10004:10400:10848:11026:11232:11658:11914:12043:12048:12296:12297:12438:12555:12740:12760:12895:12986:13019:13069:13311:13357:13439:13972:14093:14096:14097:14181:14659:14721:21080:21433:21451:21627:21740:21939:21972:30054:30070:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: fan56_0b1792026f0d X-Filterd-Recvd-Size: 2283 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA; Fri, 17 Jul 2020 19:48:05 +0000 (UTC) Message-ID: <278ef62c230d69d51ca1bb4a0bbd978483f6f501.camel@perches.com> Subject: Re: [PATCH 07/25] Documentation: gpio/driver.h: fix sphinx warnings From: Joe Perches To: Randy Dunlap , "Daniel W. S. Almeida" , corbet@lwn.net, mchehab@kernel.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 17 Jul 2020 12:48:04 -0700 In-Reply-To: <684c5c2e-1b2d-bcb4-1320-a3a0dbed9b70@infradead.org> References: <20200717185624.2009393-1-dwlsalmeida@gmail.com> <20200717185624.2009393-7-dwlsalmeida@gmail.com> <684c5c2e-1b2d-bcb4-1320-a3a0dbed9b70@infradead.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.3-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-07-17 at 12:37 -0700, Randy Dunlap wrote: > On 7/17/20 11:56 AM, Daniel W. S. Almeida wrote: > > From: "Daniel W. S. Almeida" > > > > Fix the following warnings: > > > > warning: Function parameter or member 'gc' not described in > > 'gpiochip_add_data' > > > > warning: Excess function parameter 'chip' description in > > 'gpiochip_add_data' > > > > Signed-off-by: Daniel W. S. Almeida > > Mauro has already fixed this one. Not quite fixed though. Both patches did not update the text for chip->base where it should have been changed to gc->base --- include/linux/gpio/driver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index db82451776fc..91ae7ad8730d 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h @@ -497,7 +497,7 @@ extern int gpiochip_add_data_with_key(struct gpio_chip *gc, void *data, /** * gpiochip_add_data() - register a gpio_chip - * @gc: the chip to register, with chip->base initialized + * @gc: the chip to register, with gc->base initialized * @data: driver-private data associated with this chip * * Context: potentially before irqs will work