From patchwork Fri Jul 3 17:41:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 231496 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp2595823ilg; Fri, 3 Jul 2020 10:43:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJYJfsxjzS/CztIC7GYkPRtNss04pVETD41uJmp63v0yy4srK8sDycSFEjk7NwIeLX3GvF X-Received: by 2002:a17:906:a28b:: with SMTP id i11mr32858060ejz.524.1593798239038; Fri, 03 Jul 2020 10:43:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593798239; cv=none; d=google.com; s=arc-20160816; b=zcHa/dHW19g21J+Ut8f/YARxaz4H8DgDhhCi/+Ol3ivK0IevojOzxk8f+51ap1rvpU ExW1ahrfdAjfubEdWotrTb6ckGu0D8K8qU51nH3Dt6STgtA4MNp4A2OeEwP89x0GelWh ClQBPI4rHLaIz9nqCDCSLKzCPCfnWZVIVoKGvZcfueb5hnUmAQjWBgupHtt4TTB25QF7 mCQQ7vn7ROwkLvE1JX/U1P/NEQOk0bEkWNGu4CgzOUCIsKzwR9voibf1pIFLAsntj1Sh dsFc8EVSTnM5eKMO9hcuwfuQ5824VN9qjtj+KviYQrDfbiSDrU1F0bW9JdYyy+P2E1xi q+ag== 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=7eNVLa4hjk02Jz2SQUwzwLQ41aN0q3Km5pJHjYU/rio=; b=eKE6Y6qIjx4YfgC4piJUqVgHvRTKKXlB1sVMw8ZlCBQ1pUWAxJxXI+1QMEPPO2kjTs JB79wpbuTthOxzblUzSkGa+KME2Ek/OsJCCVvpVy/D74/Q0CULQB6EP/D0ClhDO+Q3LW x2dV0cvHI8ACT6TaS4vPj+0tP7NMnyZ5D4hDqIBunnFlk2aap2u95ZsJoKpgSjdK38Sw H8ClK1Ud0kvW9+h5J+CFjun+RJDsBYjQit5dAC1oKV8YY84TLHopnBNwN1oi1X0LgLXd SstftXtQIpcoJk2lB/eFfLc9YgbsFUg84+oCdWzWO5DGIDdnAAFr1/FYIOA5qpqBeXXx CugQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vMQ8eZA1; 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:59 -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=vMQ8eZA1; 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 S1726920AbgGCRmk (ORCPT + 5 others); Fri, 3 Jul 2020 13:42:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbgGCRmj (ORCPT ); Fri, 3 Jul 2020 13:42:39 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0F7FC061794 for ; Fri, 3 Jul 2020 10:42:38 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id z15so22289154wrl.8 for ; Fri, 03 Jul 2020 10:42:38 -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=7eNVLa4hjk02Jz2SQUwzwLQ41aN0q3Km5pJHjYU/rio=; b=vMQ8eZA1CVkGFvX8S60GAhdmZPsB9rQNsmkoQFo2oYnXndISyZCgsg+4zxHt6jdFwd +Jr9x7VcoLu8QL2a+ksPn6/BHqcB/BxvRdM7XeF5wlOqwC465GuHkedkU/DomxW3+G9g o8M4UHC7PgYI9IHEbJRrXkZRFEyibaCx5yj1L1IjA34jJhLJmOEFoWL5TSZB9xbQzti0 n0hAtXHU95HcmA/LY31X2Wyr44VjZSdGjf22nMg2VaDPHj5pSMR0+rol5lpSmMDnkS6R L5lDo/RWgKUglug4pXnH6NcSkbqZmTV19sMvhpBHX+0z3HunhrUo4tR+y7awHGLQuWd5 icMQ== 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=7eNVLa4hjk02Jz2SQUwzwLQ41aN0q3Km5pJHjYU/rio=; b=dZLR9rE9T/da4BSo43vGLaiZY3nSyCtS6MdlN9S4QDXQb7EFsmMqjfx7+Pvk3b2qEd KBdo/WsOUlAFqcqK/tRI4oov+Zclt8vNEhu0HxapVO/s76T/LSHnshZHGSMFjrTpB87N er8fHWOK8T33TkvPQQKZV7LFlSKldqq2oqMj5YTCp2DwCFcAnl+bIi+wp1y14epg6KHz 6koXvGH9eqbxD1rcMDXihj3z/heXwCeGZfVJJtvTed2/fUDKgM1/7LDpM2SbM3P7zlUi uAyjx7KlUvZYUC62yg2u3s756WNnonh3e8pEzcuI2VsCgG/oZqg3t3ZmPiKnwzsyOCT/ sMDw== X-Gm-Message-State: AOAM533vm8A+Yt9QTJe7xprXs1HY/AbF/wBVKJJJGJqRyteoPG6e/V1t 7W0ornyucdOi4x3s5H3jXDg8Fs+bjE8= X-Received: by 2002:adf:e50a:: with SMTP id j10mr40298877wrm.71.1593798157484; Fri, 03 Jul 2020 10:42:37 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id x11sm13625799wmc.26.2020.07.03.10.42.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jul 2020 10:42:36 -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 14/30] usb: host: xhci-mem: Demote obvious misuse of kerneldoc to standard comment block Date: Fri, 3 Jul 2020 18:41:32 +0100 Message-Id: <20200703174148.2749969-15-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-mem.c:365: warning: Function parameter or member 'xhci' not described in 'xhci_ring_alloc' drivers/usb/host/xhci-mem.c:365: warning: Function parameter or member 'num_segs' not described in 'xhci_ring_alloc' drivers/usb/host/xhci-mem.c:365: warning: Function parameter or member 'cycle_state' not described in 'xhci_ring_alloc' drivers/usb/host/xhci-mem.c:365: warning: Function parameter or member 'type' not described in 'xhci_ring_alloc' drivers/usb/host/xhci-mem.c:365: warning: Function parameter or member 'max_packet' not described in 'xhci_ring_alloc' drivers/usb/host/xhci-mem.c:365: warning: Function parameter or member 'flags' not described in 'xhci_ring_alloc' Cc: Mathias Nyman Signed-off-by: Lee Jones --- drivers/usb/host/xhci-mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1 diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 9764122c9cdf2..fb221c0914780 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c @@ -352,7 +352,7 @@ static int xhci_alloc_segments_for_ring(struct xhci_hcd *xhci, return 0; } -/** +/* * Create a new ring with zero or more segments. * * Link each segment together into a ring.