Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5257206pxj; Wed, 26 May 2021 06:35:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzxb6A8uOIGLkaJftwLG3hsPV3NVJsiPVQOSalm/pEA8nsFllUyAjDL56Xa5PR2JPDb2UFx X-Received: by 2002:a05:6e02:13e3:: with SMTP id w3mr953091ilj.187.1622036112807; Wed, 26 May 2021 06:35:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622036112; cv=none; d=google.com; s=arc-20160816; b=Kcci7bOfkMW+qkv0wcLr0SeNDBfcHMMhlkx3efqdrJ+8WrPiHcayIZsCGA7qzt0sQ4 nLem0+x7mNjhHhxNmXZqb+sIoOr9X8g6lCA1+xqaLwVVi5yvP8KXo7KRwLx9dVjx6TZt +FHrk7rjEc1KZBYkKuzOyz/uYAl9ZzxYSx9VYBsix/xjsQv6kFpbIEwefLp1zxaanFRY wN1BaNzDIs6SzQXKcWfb3VoblFXUlxuzTAL9n6bXRVaJHar3v3oldiEFCrVNtsN72Csr NPm44wmZk32StNit0aHaq0muqkl6JGUSVyQ4bGhtNlR82ytiF9Z6UeBKLVBVgr7pJYnH Rhmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=BV7HuWtpXznylbaEtQ1TI0n5S5l/NR9jEC5xN5qvfM3RbSpES8gmB0CsrNGJCW4RWx esOoLhDRfAqy3R8dJHzZ45ugz40qu/EU21mfrb+IfA+NK0pcGUOfdMLHvzbAYildTix/ 1Vno+o3HN5G/Kkod2zRVixOWOZM4arrbyvbAOAfRODrLUaf748gW9gGFu0qZsWznGzlk h8PcTJNJML/ji4wG2IpMu/tjDldl0hMRlVfGOhXhb4YetK3w7Sc/3Z0pSW1DMi7TBch1 42+SDbVbrvXSAinpfbxZxWXlVPLhHZE5Q7e1qub+FCzqIp6DGDH4Izgct6puWTGT4m5k 7EDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bnjcSmFQ; 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; 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 s7si17274941ilu.37.2021.05.26.06.34.58; Wed, 26 May 2021 06:35:12 -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=pass header.i=@linaro.org header.s=google header.b=bnjcSmFQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235270AbhEZNED (ORCPT + 99 others); Wed, 26 May 2021 09:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235013AbhEZNCo (ORCPT ); Wed, 26 May 2021 09:02:44 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9192DC061347 for ; Wed, 26 May 2021 06:01:10 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id x8so1026981wrq.9 for ; Wed, 26 May 2021 06:01:10 -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=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=bnjcSmFQOnzl2lNbk/am+nyD7cQvcvfgS+Sx/AaVCXefBJ113iOMCnRSumhjEoFxxi +vWmddFD5J+aSHc7dfIyjkTBP4PjK70itrF9GGHI0JDdtN9+C2ugDJZm3miTuc6UWKZu jkHa1oS6BKsQ6eoQ4opfRQIxo8Wi711cZ5QbinNBG9n2khSMFrUMml6K2NG4FTVJczp3 a4Yjqa1Az8PhaQbyf+L+YBM6Tz/a7MeVVEmBk+2jFjrMiToDIEs5ic/UPvGBpBof3a1U PHz+4NilOwlYsfzu62F+TxpSNFVN6ZQ3oNSzmZd/wMZryi35H2pyCqLs5NICtIvCG/7N 40mg== 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=YbRRFg5q2VbYY8xpOifIVrVfW0BWBSAPTYk+9466Ez8=; b=AxbWH8xBkLaSHeUWat/+uRTDhXeWs6XhFNu2sWm3ABkVvBK6aerX7bKEpXUzivs8GK rt6Wfv8Mk5nESGFDCnvhHRsGH1UrleeeN0J3gseIQGtpGvQxjFyOEleUKzd91a8UOqJ/ Sxihv0Xf19LBYgqA1qHLkAz5F9nBSUa4+2NNLFBtNqyZwlpPkSSe+kmswp+meO8LWQY4 jOqD+h7jNZkFcPKgKr4IurcaYGOeTRqrd3jtbE8f0oy4TYFf0pIyvly7LRmpgpY8NBDH 3PijFQ90geycRBUGKsQ0w0D+SztaK3UgW44CrqdwanuT51Gyuhjusev736tgslS/pxGI JxxA== X-Gm-Message-State: AOAM5305DCkreYiG6W6japMnsG6JcpUvGpH5B+vyLgpOOp4LGzy2zRG/ B++z1WnuSRHPbdcBC4yXI+/0QA== X-Received: by 2002:a5d:690b:: with SMTP id t11mr30464981wru.250.1622034069220; Wed, 26 May 2021 06:01:09 -0700 (PDT) Received: from dell.default ([91.110.221.223]) by smtp.gmail.com with ESMTPSA id y14sm6430036wmj.37.2021.05.26.06.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 06:01:08 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 22/24] usb: host: xhci: Document xhci_get_endpoint_index()'s 'desc' param Date: Wed, 26 May 2021 14:00:35 +0100 Message-Id: <20210526130037.856068-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210526130037.856068-1-lee.jones@linaro.org> References: <20210526130037.856068-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/usb/host/xhci.c:1424: warning: Function parameter or member 'desc' not described in 'xhci_get_endpoint_index' Cc: Mathias Nyman Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/usb/host/xhci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 40ce4b4eb12ad..094b2bf1e2657 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -1415,6 +1415,8 @@ static void xhci_unmap_urb_for_dma(struct usb_hcd *hcd, struct urb *urb) * HCDs. Find the index for an endpoint given its descriptor. Use the return * value to right shift 1 for the bitmask. * + * @desc: USB endpoint descriptor + * * Index = (epnum * 2) + direction - 1, * where direction = 0 for OUT, 1 for IN. * For control endpoints, the IN index is used (OUT index is unused), so -- 2.31.1