From patchwork Fri Jul 3 17:41:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 231494 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2595815ilg; Fri, 3 Jul 2020 10:43:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3o7dLJ4q4U8lzJhm4AbhDL9m5cDJKwfThqdnsB8bql75hHJp/lknnkv0b+Ax5TSr4GLtp X-Received: by 2002:aa7:c80f:: with SMTP id a15mr40841068edt.299.1593798238646; Fri, 03 Jul 2020 10:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593798238; cv=none; d=google.com; s=arc-20160816; b=flh/D9Ui/w6PDkVst8TDUZQ5/wQTEIJPc67TCVcp4pL80YVKCbu6Vv57gW7bumNy2N rAsXWbv3iPewKiAwFWW6oxfTd2jagw+JQE0Px1Vq80t+5/zwNw4vEEKHNqT9H6AqhJum Q5YNUw7aOW582//e2nPu/s7fej58EhBtMH8UmmYBiSuGW+N1eziaZwVnq0t7EGq9AzbB gFwZ4Q2+VHhOveilPLGBCVxEpg41QjUaiTbp2Ae4XLD9Cd78KIziQ6Y7yVL7nOy4s0Ym FOOyRkHvpQc6RJWPccbqELSf6jm/ES4DIIV6914zcHVkbL1EQjBpWH37GKHrrpATf9bj 8hVQ== 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 :dkim-signature; bh=4LyTKYUD/bNIDavfKIyBUK2+LGfEs6fHGIsN/epbMTo=; b=hBVWZKiKi4z8oB7HvYj4Tn8fzKxH151OlW5TJyUkGMEcBh8CdHYxm94oFJ8JFSrIWf ydiysSBnekgIaGhfh7pkBsmnGCescR/mwzU9pVcmSLrXIm6UMOnDGO3S/AXoApdN9h3X RvT2CJpAF2SKC+TwdkrdLDZMywrXW64KFEkajrabikx56wkYYUGU3BNuScXH4YzmPgdM GUVIx4tEO0cVIGR3ehhrnRoAGtjlAKtUWGqglTOKNQxDbQ2RwORNR6TbypRrUoU68+kp g/NnAAmlbXuTBqMEu38KVIhrbeqfdNgK5DycFFRZo04dPAqXj60VnvNxnBaYov8jRWXR MTKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j++rmjLV; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r25si8528925edo.46.2020.07.03.10.43.58; Fri, 03 Jul 2020 10:43:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j++rmjLV; spf=pass (google.com: domain of linux-usb-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726925AbgGCRml (ORCPT + 5 others); Fri, 3 Jul 2020 13:42:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726904AbgGCRmh (ORCPT ); Fri, 3 Jul 2020 13:42:37 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7E9C061794 for ; Fri, 3 Jul 2020 10:42:37 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id j4so31132945wrp.10 for ; Fri, 03 Jul 2020 10:42:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4LyTKYUD/bNIDavfKIyBUK2+LGfEs6fHGIsN/epbMTo=; b=j++rmjLVKGE8pJOki7KEkXap+ttuF0IaSJ6R4tm+0X3EML73Vhjgu0DH7+NuuLNCCD JyEYJgF4AJO9OF9F+dXlSbcsZ4hfZmufRZ7mHKpB0uGilNC44Gf015+rpII0D+viBkxj th5S9AKZbZ8/b3gT9djqWXTdE7pZIsUj4216ALlqOzZpsBv6E58rP1JsDo+zuz9pejHN 838vbI10run4HOjp04xPaHKpJehh2FowRbeqDSSxGX/WpviiO0Cp2cyDOOqvHiaAasyk c14zkprb8zMmm9IuQ1yiY5UF103BP4+ILRruwvIcyNUtvwFlonPCnBrjhZIEnLf/lL0S 2AdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4LyTKYUD/bNIDavfKIyBUK2+LGfEs6fHGIsN/epbMTo=; b=cotOg6y7bF6yvkdmWdV8gYu8IwyyOXE2y25GvpFGo6MVK5o71+tYTqEe7h34DI9yOc +e5V1g87KLZUoDFviFmKPP54DDwGG6oaSxv5JL6fSsgJ3cbnqqSFSFbATkhcEY5GM5+Q UYY6sAo1phKRmkO+dekp2EKTsuJi0N6r9eLpC71b3H/VL/G4phuai4rsGgA7rkG66K4j ik/NGmMa4nZkCA/XeeGfr3mI2JjD60xiTVuXHto0krMROPwd/242UzfKQKfGQv8qsua3 pOh2sOqRmjp95MASChYhP+RPTwAUpIE+F9T1+bivzcXTLSC7hfhog4gVaxyZBW/QwSCP ++dg== X-Gm-Message-State: AOAM533eM7nIG0m/E7LgmAxgdSk8vkta1cOYVcANVGESpx0KOeFI2el0 OV56cwUAxN6d32WVHVSgTmmTWQ== X-Received: by 2002:adf:edd0:: with SMTP id v16mr37170423wro.214.1593798156340; Fri, 03 Jul 2020 10:42:36 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id x11sm13625799wmc.26.2020.07.03.10.42.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 10:42:35 -0700 (PDT) From: Lee Jones To: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Mathias Nyman Subject: [PATCH 13/30] usb: host: xhci: Demote obvious misuse of kerneldoc to standard comment block Date: Fri, 3 Jul 2020 18:41:31 +0100 Message-Id: <20200703174148.2749969-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200703174148.2749969-1-lee.jones@linaro.org> References: <20200703174148.2749969-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org No attempt has been made to document the demoted function here. Fixes the following W=1 kernel build warning(s): drivers/usb/host/xhci.c:1285: warning: Function parameter or member 'desc' not described in 'xhci_get_endpoint_index' Cc: Mathias Nyman Signed-off-by: Lee Jones --- drivers/usb/host/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index bee5deccc83d8..b90d61bb84144 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1271,7 +1271,7 @@ static int xhci_map_urb_for_dma(struct usb_hcd *hcd, struct urb *urb, return usb_hcd_map_urb_for_dma(hcd, urb, mem_flags); } -/** +/* * xhci_get_endpoint_index - Used for passing endpoint bitmasks between the core and * HCDs. Find the index for an endpoint given its descriptor. Use the return * value to right shift 1 for the bitmask.