From patchwork Thu Jan 28 12:29:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mika Westerberg X-Patchwork-Id: 12053593 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6430C433E0 for ; Thu, 28 Jan 2021 12:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97CAC64D9D for ; Thu, 28 Jan 2021 12:32:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231156AbhA1Mcy (ORCPT ); Thu, 28 Jan 2021 07:32:54 -0500 Received: from mga01.intel.com ([192.55.52.88]:54368 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229594AbhA1Mcw (ORCPT ); Thu, 28 Jan 2021 07:32:52 -0500 IronPort-SDR: 27yjiIXMg9Q3dQ9DDSPWmxz1aC3IFisLvpGlhV4OSG+MDqVvGcYjFYrRpjz7uZoeKLvINk3Vl/ W0rWaVKeDM7A== X-IronPort-AV: E=McAfee;i="6000,8403,9877"; a="199057043" X-IronPort-AV: E=Sophos;i="5.79,382,1602572400"; d="scan'208";a="199057043" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 04:29:37 -0800 IronPort-SDR: 7cgQwmWUwu55mJJZGI4+ch2zM8s2I21ie37Jh243uoE1VzQ5CQ+El+n6PKCwtyKJL4QW+1Q5sW zGNQH0D2Ad3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,382,1602572400"; d="scan'208";a="369832555" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 28 Jan 2021 04:29:35 -0800 Received: by black.fi.intel.com (Postfix, from userid 1001) id E260A214; Thu, 28 Jan 2021 14:29:34 +0200 (EET) From: Mika Westerberg To: linux-usb@vger.kernel.org Cc: Yehezkel Bernat , Michael Jamet , Andreas Noever , Lukas Wunner , Lee Jones , Mika Westerberg Subject: [PATCH 3/5] thunderbolt: path: Fix kernel-doc descriptions of non-static functions Date: Thu, 28 Jan 2021 15:29:32 +0300 Message-Id: <20210128122934.36897-4-mika.westerberg@linux.intel.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210128122934.36897-1-mika.westerberg@linux.intel.com> References: <20210128122934.36897-1-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Fix kernel-doc descriptions of the two non-static functions. This also gets rid of the warnings on W=1 build. Reported-by: Lee Jones Signed-off-by: Mika Westerberg Reviewed-by: Lee Jones --- drivers/thunderbolt/path.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thunderbolt/path.c b/drivers/thunderbolt/path.c index ca7d738d66de..f63e205a35d9 100644 --- a/drivers/thunderbolt/path.c +++ b/drivers/thunderbolt/path.c @@ -466,6 +466,7 @@ void tb_path_deactivate(struct tb_path *path) /** * tb_path_activate() - activate a path + * @path: Path to activate * * Activate a path starting with the last hop and iterating backwards. The * caller must fill path->hops before calling tb_path_activate(). @@ -561,6 +562,7 @@ int tb_path_activate(struct tb_path *path) /** * tb_path_is_invalid() - check whether any ports on the path are invalid + * @path: Path to check * * Return: Returns true if the path is invalid, false otherwise. */