Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp568411rdb; Sat, 30 Sep 2023 17:06:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2O24uwJSvHLgeQ9paoFrAL4mPnX36AN0yOsqaG08137Dsz0jg1xN+R4f1fV4hVZfzz0MW X-Received: by 2002:a05:6358:2820:b0:134:e4fe:e162 with SMTP id k32-20020a056358282000b00134e4fee162mr7029783rwb.13.1696118789475; Sat, 30 Sep 2023 17:06:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696118789; cv=none; d=google.com; s=arc-20160816; b=wq+athJ72r0T/ZGVrOdgrNRwvTGjkjD9IKqHH4lkz/LS8E83dS49qX05IpihFbR9sc uk+HEgD84BpEV9Fqic6aUoPuwrnBp17xaCmvNDH61/WBvunZQUUhDu7QcghcEonby4zV +DnMU6LEeACzPffsBMJhHB+cG91KD5mSOJMkfScFyXHmYGPTSY04Jg/94Ao0hHampM1p /xOTQIgPvvRWvqsj4cdrCDVORTZz87uGm6nzZA85PXOTQt866xtVhgFBvRdgQxM0uQtP VkVulA0D9KWetNh2Yr8mXrPbLGizVWDielCvAYcvBYjJsEXVP4IRNdVy+Fb7jxhcQNmS 3Qqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=GagtNB5oKru/R0xh6c+JiiKDjGrtTBxS9g+mKoBaTJI=; fh=L3Ekd+766Ps/B8lGXpnl3HI0+qyy0856W/YEHYa3jZU=; b=LCr5HuKXN7+v53Fy6KJjARLkXQEMNZjyQjDTZiUQPdPo9sE08/efZp4jwc5VEE+QJm Bwf2sHXNjHF3diVVXftgwib2AShl8SoWyyBeblG+/QPjVINSen/qwwKUhZgmMlaSdID2 e+hRNGjCI74rARYiOQtrRW3Wp84inW/YsBLp5Ib2Vzxc9NJ+ao4pAnPAQuU+5H+OZt4q 8+eZ+meMW8iQG5j3IJin/dveCZnBd0Hv+B61ahBg6mgTuAUI8f+qqAVgSddackbiBeBH eRjBDZW36HE3QhMpKrOXfP+k3KkaVlJJQcyPgKIB/kOOL22iGCj57gizwNRB7sf8IEb+ 86gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=bNAEK299; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id s3-20020a056a0008c300b00692dfef1ebdsi19861865pfu.189.2023.09.30.17.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Sep 2023 17:06:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=bNAEK299; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 01B6E81A05AA; Sat, 30 Sep 2023 09:43:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234544AbjI3Qm6 (ORCPT + 99 others); Sat, 30 Sep 2023 12:42:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234498AbjI3Qm5 (ORCPT ); Sat, 30 Sep 2023 12:42:57 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D564C6; Sat, 30 Sep 2023 09:42:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=GagtNB5oKru/R0xh6c+JiiKDjGrtTBxS9g+mKoBaTJI=; b=bNAEK2992/2avcolWoSxOBEQBZ AVQslNEHtFYtaXseYWP7N6aLDNOLIS/sBcu05HrmCXd0iWmiWYcka5Rk9+ZhpSwviXXsEXWdh6XW3 6hKQhT6p1bedNgXLbvhKfHDMapt9lVm0K1GyVdKDusq24qZHDqrRXRQ2cSjw0QxlOy8luN7X8K6CQ BTfB8hbiW/b/+mgUBVni4ZbQ/Q3kXRdsAC0y30Chcf3LiKRB49cVYSp2MtLmXPAjkeuPFskmXsHiH 4tj/YoK21+8U4NTI239jKlqq8kNChBeQtLUAXOzjxExOj4fdgm9CpfCfvk9fG49ioAQl/S8D8Zooo KIEBkGEw==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qmd3C-009qhm-0J; Sat, 30 Sep 2023 16:42:42 +0000 Message-ID: Date: Sat, 30 Sep 2023 09:42:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] fixed documentation warning about duplicate symbol Content-Language: en-US To: Greg KH , Abhinav Cc: stern@rowland.harvard.edu, benjamin.tissoires@redhat.com, mathias.nyman@linux.intel.com, hdegoede@redhat.com, hadess@hadess.net, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, skhan@linuxfoundation.org References: <20230930123449.1170359-1-singhabhinav9051571833@gmail.com> <2023093020-discern-dispersed-7dbe@gregkh> From: Randy Dunlap In-Reply-To: <2023093020-discern-dispersed-7dbe@gregkh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 30 Sep 2023 09:43:13 -0700 (PDT) On 9/30/23 06:31, Greg KH wrote: > On Sat, Sep 30, 2023 at 06:04:49PM +0530, Abhinav wrote: >> Compiling the documentation in html gives a warning about duplicate symbol >> because same name is used for function usb_string(...) and >> also for the struct usb_string.Also having a different name can >> be helpful while searching or debugging the code. >> >> Renaming the function usb_string(...) to utf16le_to_utf8(...) fixes >> this warning.Reason for choosing this name because >> this is what the function description says it is doing. > > Odd trailing spaces, why? > > Anyway, sorry, but that's a horrible function name for a usb core > function, especially just for a documentation warning? Surely the > documentation tools can determine the difference between a structure > name and a function name? This can't be the only place this has ever > happened, right? > > Try fixing the documentation tools instead? Yes, this is a known Sphinx issue (i.e., not in scripts/kernel-doc). There was an email thread about this on linux-doc last year: https://lore.kernel.org/linux-doc/564cbd05-8788-9223-1ecc-59e7fc41b46a@gmail.com/ It looks like this particular issue has patch(es) available but they are moving very slowly. -- ~Randy