Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp584735pxb; Wed, 27 Jan 2021 15:53:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxlDNN4lxn7M2X2/4UkyLIYFiiaKA4OJftBMgbZrK01La1kkJJ/kmQ54G4qjTI4ApogBSvE X-Received: by 2002:a50:fe85:: with SMTP id d5mr11688790edt.140.1611791613620; Wed, 27 Jan 2021 15:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611791613; cv=none; d=google.com; s=arc-20160816; b=hUxiyN8aZlaA5D40f0CTFBaT8KzSrdZ2jgBojtY0R+BCCepc+kqILTYMC3yI6XSj9x jHOwFicTvavoBiiDTZAst6cNgyQrseIC4IPidydpa21EqElpCDViABG6GupIKoJxfnKH 7Giw9hYGkdyQoq58u5+2tYWkD86UIxvoh3vpRqr/OwSbou/O2X9sLjIrt09HTEP4Pe6z 3ma5JsGQMB7SOow5cX+VZD/lMULIzH7foFOffq8k7uXe13Z4VJxFaf8+S6MrETKO47n0 LTmKeEpFviwv7eBpanAj3/6BGzw9FYWStZKwZxEuODN0g9EWTiJ/dRSqAZZTodbktzWJ gbtw== 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=mwkTQ1nP1bLt6tR6lEnllegWqUs+MQYhQRklBiDlKoQ=; b=czh2so9xFYLncRlzmeq2GjjljuFgwbiVuQa0jfxLl+/OJ3dYfRZZ11SAxKHLgs7laS yq+Gx9f7rKmEZ0B3WzR9jvAzv7yfnsCz8YFZcX+6Smx9Rzu9yEmlOg+hF5H8zU7v8Ebb QCVkAuYhXR4fjWJ6VjumZ8w9d0TxaOW2Baiyi988dglXHsA1/6bwalLQZgpvM8+DZno3 SWmJJsquu2rOBDt44YOE10JT39xTIuCaYKN/FX8j2gkE5Xz4HowtGgSrKLbrkjVblnq8 +bmb7Y5M3mn3sCQ+Auxdd8ucCqT/2Gf2F3plOiLtvYzwY807wB/sqWYREgyTNBHj3lnc jFYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TECRuVSe; 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 dc22si46756edb.145.2021.01.27.15.53.09; Wed, 27 Jan 2021 15:53:33 -0800 (PST) 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=TECRuVSe; 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 S237062AbhA0LmX (ORCPT + 99 others); Wed, 27 Jan 2021 06:42:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236710AbhA0La2 (ORCPT ); Wed, 27 Jan 2021 06:30:28 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03D2FC06121C for ; Wed, 27 Jan 2021 03:26:11 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id u14so1305427wmq.4 for ; Wed, 27 Jan 2021 03:26:10 -0800 (PST) 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=mwkTQ1nP1bLt6tR6lEnllegWqUs+MQYhQRklBiDlKoQ=; b=TECRuVSe4dnnPdOZ3qR5o+DV52hnLhGLAxQdA7gxPlQOxjeODPEdP7CQAZHat31ble wLQoPMy9pOhXcsz/6tW7pPJcKNhgLbTohtlvHttbI1k49AZeWJjjDOh7L8kG5ReuzLEi 828/CAZHL6Lzyi/TChi7d3krhiR23NS8cUjvSXXeCm5f0cnpqmm+WZFQNkUfiqwbCRzl 1abB6e9DEowFsRE9W6sVuPyJCU9t3ODjhnKbxw1EkJ7MGR7wZ/NfZvJIS4O3HEZSbiC/ nWkbPp8U6agq6crMMXjtYH+QYnybAS+CXhs6eNbh33tcQpA4S3joP06IZzVINNJ8A4N4 CHdQ== 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=mwkTQ1nP1bLt6tR6lEnllegWqUs+MQYhQRklBiDlKoQ=; b=c6QDn6WuSmCzmIr6KxPawavGLJ/WIi5r0OgGpMv2MLjElrolkxkkOrXwyK3u9SsU8e jXxihIHhGGkEdopUFbyjpYaUYUJ9GhTzuSnrEx2Po9IZJEUOEyVZezfHIMK/o2wJUmFg mtfGpIdEe2iEebmpR8HR8+0IN5mPOrQW4tR5YVGbcJP6iEyQTjgXYvyP6LuzxT8QpSbr /jnP5TdgMj+igJ+YXE6/RuP0o6Ka3L17ATID1wgZLJlbd5VIY1IzHbJbyWEnPhiJCQaB jyD3Mpkr6ER8rILHnV73ln5wm4X9+aM4JPMss5wXf0KfR7/e1POykQWnM8TXSTzRe8ao GnGw== X-Gm-Message-State: AOAM531uyKqz/aRg+/h9lx+etsP/7sdZMZbZRAhWNGwAxE0HIVksPXBs 2nOyxi71I9cuQ9D2uEbicTYMQg== X-Received: by 2002:a1c:8002:: with SMTP id b2mr3944058wmd.94.1611746769810; Wed, 27 Jan 2021 03:26:09 -0800 (PST) Received: from dell.default ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id m2sm2040065wml.34.2021.01.27.03.26.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jan 2021 03:26:09 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Andreas Noever , Michael Jamet , Mika Westerberg , Yehezkel Bernat , linux-usb@vger.kernel.org Subject: [PATCH 09/12] thunderbolt: swit: Demote a bunch of non-conformant kernel-doc headers Date: Wed, 27 Jan 2021 11:25:51 +0000 Message-Id: <20210127112554.3770172-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210127112554.3770172-1-lee.jones@linaro.org> References: <20210127112554.3770172-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/thunderbolt/switch.c:540: warning: Function parameter or member 'port' not described in 'tb_wait_for_port' drivers/thunderbolt/switch.c:540: warning: Function parameter or member 'wait_if_unplugged' not described in 'tb_wait_for_port' drivers/thunderbolt/switch.c:599: warning: Function parameter or member 'port' not described in 'tb_port_add_nfc_credits' drivers/thunderbolt/switch.c:599: warning: Function parameter or member 'credits' not described in 'tb_port_add_nfc_credits' drivers/thunderbolt/switch.c:653: warning: Function parameter or member 'port' not described in 'tb_port_clear_counter' drivers/thunderbolt/switch.c:653: warning: Function parameter or member 'counter' not described in 'tb_port_clear_counter' drivers/thunderbolt/switch.c:730: warning: Function parameter or member 'port' not described in 'tb_init_port' drivers/thunderbolt/switch.c:1348: warning: Function parameter or member 'sw' not described in 'tb_plug_events_active' drivers/thunderbolt/switch.c:1348: warning: Function parameter or member 'active' not described in 'tb_plug_events_active' drivers/thunderbolt/switch.c:2654: warning: Function parameter or member 'sw' not described in 'tb_sw_set_unplugged' Cc: Andreas Noever Cc: Michael Jamet Cc: Mika Westerberg Cc: Yehezkel Bernat Cc: linux-usb@vger.kernel.org Signed-off-by: Lee Jones --- drivers/thunderbolt/switch.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/thunderbolt/switch.c b/drivers/thunderbolt/switch.c index cdba05e72486b..ce1b120d1cd46 100644 --- a/drivers/thunderbolt/switch.c +++ b/drivers/thunderbolt/switch.c @@ -523,7 +523,7 @@ int tb_port_state(struct tb_port *port) return phy.state; } -/** +/* * tb_wait_for_port() - wait for a port to become ready * * Wait up to 1 second for a port to reach state TB_PORT_UP. If @@ -587,7 +587,7 @@ int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) return 0; } -/** +/* * tb_port_add_nfc_credits() - add/remove non flow controlled credits to port * * Change the number of NFC credits allocated to @port by @credits. To remove @@ -644,7 +644,7 @@ int tb_port_set_initial_credits(struct tb_port *port, u32 credits) return tb_port_write(port, &data, TB_CFG_PORT, ADP_CS_5, 1); } -/** +/* * tb_port_clear_counter() - clear a counter in TB_CFG_COUNTER * * Return: Returns 0 on success or an error code on failure. @@ -718,7 +718,7 @@ int tb_port_disable(struct tb_port *port) return __tb_port_enable(port, false); } -/** +/* * tb_init_port() - initialize a port * * This is a helper method for tb_switch_alloc. Does not check or initialize @@ -1337,7 +1337,7 @@ int tb_switch_reset(struct tb_switch *sw) return res.err; } -/** +/* * tb_plug_events_active() - enable/disable plug events on a switch * * Also configures a sane plug_events_delay of 255ms. @@ -2647,7 +2647,7 @@ void tb_switch_remove(struct tb_switch *sw) device_unregister(&sw->dev); } -/** +/* * tb_sw_set_unplugged() - set is_unplugged on switch and downstream switches */ void tb_sw_set_unplugged(struct tb_switch *sw) -- 2.25.1