Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2236690ybh; Fri, 17 Jul 2020 12:37:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLxpXvP74YxPrLz0XyuTTnQVl7yFQLtaQGN+cce3JG/4a/qVcPhaVtDPyVVaOnQcAWBDrN X-Received: by 2002:a50:d7c1:: with SMTP id m1mr10934638edj.217.1595014670509; Fri, 17 Jul 2020 12:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595014670; cv=none; d=google.com; s=arc-20160816; b=XSpL6TzdxoCARifuPffgASnGEPWnUzRmXg6eraylSn277eoQA1QQijXdo7gaRy7mMp k3V23fMLShbHzWsPCr7ygEpZ+py97c1x2oy4wy8AW0YNVqOj4Kmgck4xJV6N8NlQG3x1 iZGIe/IkB2TDrxQ1uK10kUTCqNmRqhcMt8foaSjkeoLLNMBt2SAJNsTI0j2RwrshixT0 ryRYiRXbAS75bisk8LCTswc5SVgXK9dknKFJjqGY2umxrKTEBpI15kFacTgp05cyHKOm aZZG6/Wc7U7pMgbdSUvQP+IK7Vkb/6BiHtnqjNw/GKu5O0hu9TTB4IgoOM7Sdo4zM8/G htaw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=vdwZIeP/5ERRdxhT4tm912eFf6IQw0zOb9u5nhr4xh0=; b=Z7OeWpZifmGTg5gHxeycwhlMZV3skSZZB7rmMWG/Pmrz5y1N+R7KJ8xC+gNJSx0zGC LhPIYdlamhBTE4lT6izj4gmH/8bEpJfF7brj86owj9iBv3jCIibFUBQMfHVjwmLkToDS H1tCPXNRliU6Ux5lx8FPWXyf/JjegsyhYAvLa8sqgqM6U3trpIJYcJnpMnVZ5/isDiWc 1toKp8NS7g+Z1Bz53zTfMAC9eEbiisD46RFGiElSBGnLDkIpzPCnmw+hpbM4znRTb/AU NPZcBhGRpU7fHQzLzEMLhBtRW0a6r1m0mAwzoUDd3jEQ+yhrdFDUwFZPO/Ovp0+2PvFO +2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TKAgM0jj; 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 w18si5662254ejk.216.2020.07.17.12.37.28; Fri, 17 Jul 2020 12:37:50 -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; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=TKAgM0jj; 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 S1728750AbgGQTgn (ORCPT + 99 others); Fri, 17 Jul 2020 15:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727999AbgGQTgn (ORCPT ); Fri, 17 Jul 2020 15:36:43 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F2DC0619D2; Fri, 17 Jul 2020 12:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=vdwZIeP/5ERRdxhT4tm912eFf6IQw0zOb9u5nhr4xh0=; b=TKAgM0jjr8L9FnRPKbO1PwvU5/ NIuP4LJmBDIyyEaIbyOoDkyk7Ac5vSzAylv1ekF71YUs5ukbuGCrS4mZo4I6VrxNaTk4HQhfZgWd7 WSqKDkYC2DR5+vAKEMKeedGW8gduex2Mq0gtRU87cDuo09E7SrXYFQrmKSLbZQ+wuwPiRXFtJgGR4 TmqXqMWawaTbI4lrqSNF0Qxd2pQRk/Etn2z9q3HBs+zDrnuvrfNt3W6mFOBAqOKVy7aH7x16Q6G7h 91re09MaX/L4n/am+fRvFeWj1vL5KIP3rIYYD21uh5n6RGIkAYve4xLPWDOBApa4NifD6sg3G+sH4 qzy5R/Jw==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jwW9x-0002Lm-Bh; Fri, 17 Jul 2020 19:36:41 +0000 Subject: Re: [PATCH 06/25] Documentation: usbstring: usb_validate_langid: Fix sphinx warnings To: "Daniel W. S. Almeida" , corbet@lwn.net, mchehab@kernel.org Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200717185624.2009393-1-dwlsalmeida@gmail.com> <20200717185624.2009393-6-dwlsalmeida@gmail.com> From: Randy Dunlap Message-ID: <7c4a651b-06ca-d8fd-dbcf-546250316f16@infradead.org> Date: Fri, 17 Jul 2020 12:36:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200717185624.2009393-6-dwlsalmeida@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 'langid' not described in > 'usb_validate_langid' > > warning: Excess function parameter 'lang' description in > 'usb_validate_langid' > > Signed-off-by: Daniel W. S. Almeida Hi Daniel, This is already fixed in Greg's tree. thanks. > --- > drivers/usb/gadget/usbstring.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/gadget/usbstring.c b/drivers/usb/gadget/usbstring.c > index 58a4d33250902..2e9735abfeb95 100644 > --- a/drivers/usb/gadget/usbstring.c > +++ b/drivers/usb/gadget/usbstring.c > @@ -16,7 +16,7 @@ > > > /** > - * usb_gadget_get_string - fill out a string descriptor > + * usb_gadget_get_string - fill out a string descriptor > * @table: of c strings encoded using UTF-8 > * @id: string id, from low byte of wValue in get string descriptor > * @buf: at least 256 bytes, must be 16-bit aligned > @@ -68,7 +68,7 @@ EXPORT_SYMBOL_GPL(usb_gadget_get_string); > > /** > * usb_validate_langid - validate usb language identifiers > - * @lang: usb language identifier > + * @langid: usb language identifier > * > * Returns true for valid language identifier, otherwise false. > */ > -- ~Randy Reported-by: Randy Dunlap