Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2436232ybt; Sun, 28 Jun 2020 20:09:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpa+jqrTQi0dHykrf6v+hqEiKpXUGbBHuF++hj4BNUgiXFsNh+gRLTXrMnCGIhmBjp6Qp7 X-Received: by 2002:a17:906:eb5a:: with SMTP id mc26mr7238729ejb.42.1593400196748; Sun, 28 Jun 2020 20:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593400196; cv=none; d=google.com; s=arc-20160816; b=CgQ0jxIhWzz/1klrJrqpFdN2jx6/uNf8RSpwBZGaSq0xp7Ayhe0Jg9fE1JvLXkAkRV 3fn+LGG25+ldSj3kubmUgpMld8VQssztCaWMCD/5Puhkh4zqAXKeixZle8orhyR+61G2 dif4/dXSLE4j1VZ4jX6AxkXE4KFYlFKSlGfYp3WfyyI3gtlBUNnZx2NSzqsEyfB8J/MM CSnmsXA8zQF3Quc2UHrFiPk9kXnRBsqhEo2UPnrbtG3Hz8+YXr3WdTVUkh3yraBpHJQa DbZ42Y0SeLin9XlhyALIOrK1DrZC4Ra0aCjOfe5f9eBfobkICXzFdguw+xNgdBIme9nI sVtQ== 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:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=Hd4aXGBrGGfmm233mYpZ8b0QDHhitqc6WSdHokmsNw0=; b=Dj69lhcYtbx37A7Pgcc3FzJ26O2y2UeYjNymYi/WzlDV/QRvxtpmU0TCwcloGyXXb0 bPhgSBzsOysHvrUIY5/aXixuzsBZ3b0fCFbGXu0Lr4UBsiVRtMhG3Xavg6fyIHtnTAoi x6fkjzLA+CfYvmoQcSP5on5sx2lxFqSSc6WYSlMp9Nm2lxaY0VSAMoWForQ5G8reQ+jO DNR5YmxyCdlGniI86HmZ1CEdlDoiiO3HfXP5PM8jLscywaHOYmmQdDsylBBK1EWIF0rn i3j34n15M89LV0WT6IZH7qajP8vr9J9B5MJatLnF9DNTi8B6+Ks2uvJkutHf+WI62cA5 BDNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=L70cZK+7; 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 b8si1664554edx.509.2020.06.28.20.09.33; Sun, 28 Jun 2020 20:09:56 -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=casper.20170209 header.b=L70cZK+7; 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 S1726046AbgF2DIY (ORCPT + 99 others); Sun, 28 Jun 2020 23:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbgF2DIY (ORCPT ); Sun, 28 Jun 2020 23:08:24 -0400 Received: from casper.infradead.org (unknown [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AD50C03E979; Sun, 28 Jun 2020 20:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=Hd4aXGBrGGfmm233mYpZ8b0QDHhitqc6WSdHokmsNw0=; b=L70cZK+7xfK2L9PW/R4cMDhltK +fyIfl1GGtrCLqutr7UzcQB4dPV2uBbBlftqyIPa12yd/7/zn/MuMzpNtrNSiEO7MwUiTBZXlZIaI aDLa5a9SDHfloWMM5bqdiluHsYttn9BhRidEgMBX1pUjSr7kiTStTKfTDA5p7YTDzEyguLPKN6AI9 t4pBV2y04PRlRROrSmHDwv3mISVLIj0oSRVpz/4jaEn55G2Tk43snbZSw0iaRNTet0jrrp8CLe4QE O8B7mgbGIiPUApjUTzq95iWcG7qwv/hwpsDSiReS3I4oOTiWaFmxxTPlsrGGYwDO0fKPf+eJCCvST 0EEa+hKw==; Received: from [2601:1c0:6280:3f0::19c2] by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpk9N-00036y-FD; Mon, 29 Jun 2020 03:08:06 +0000 To: LKML , USB list , Greg Kroah-Hartman , Tao Ren , Felipe Balbi From: Randy Dunlap Subject: [PATCH] usb: gadget: fix langid kernel-doc warning in usbstring.c Message-ID: Date: Sun, 28 Jun 2020 20:08:03 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 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 From: Randy Dunlap Fix spelling of the 'langid' function argument in the kernel-doc notation to quieten a kernel-doc warning. ../drivers/usb/gadget/usbstring.c:77: warning: Function parameter or member 'langid' not described in 'usb_validate_langid' ../drivers/usb/gadget/usbstring.c:77: warning: Excess function parameter 'lang' description in 'usb_validate_langid' Fixes: 17309a6a4356 ("usb: gadget: add "usb_validate_langid" function") Signed-off-by: Randy Dunlap Cc: Tao Ren Cc: Felipe Balbi --- drivers/usb/gadget/usbstring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200626.orig/drivers/usb/gadget/usbstring.c +++ linux-next-20200626/drivers/usb/gadget/usbstring.c @@ -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. */