Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1008038pxb; Wed, 6 Apr 2022 06:35:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIEO9Lkdk1FR/elgLlaDrf6TS+DQjwFxMF8SVlkfsQlXSKU8iXoT/ab+6nJoT1l7l6BlUv X-Received: by 2002:a17:90b:1809:b0:1c7:28fb:bdd0 with SMTP id lw9-20020a17090b180900b001c728fbbdd0mr9892231pjb.231.1649252133360; Wed, 06 Apr 2022 06:35:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649252133; cv=none; d=google.com; s=arc-20160816; b=wIyylGMGojU+XkoMeGHm/7KQgvvgQx8+1a/SobaAuBTg1WLfFYguLwxl+iJ4Qr21yV SNTINewzQ+wmxAJsjy3ejb7YpQQcNWzy5Qyyfzsf2xIRNC3MMavPSk42yHNLzwJDQN4v vAA6pjxEZotMJ9keCewQ5TYN/mWo9Kn8ykxLaH7Ot/yH1vas/jtvnQ1RpvO7DDAEWivC ZAqEBtUXKqYE27h6cGFKhBoUBUM3Ok0OVRiPmB8PinZjNeOIGMSgGCjqAEFXA2hJQ+O8 POv/+6Kr5Bp3Lec9PCU1h6KKyNZdm0THpKdsP9kS1DTVK+3umBX+eZUlQIR1j5syuRIN 5mPQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4dTsl8koXXnajhfgn8YEJuiaceSuasR6j5mDsy9YhRc=; b=wJ4FRhbqVzKpvpK2lL13o99s1Woj28Q0CIDvg87YWXkkRMU0S27t3F+1qUum152iDl XEUscjKGHX4KmNfLXQH+r6OFgwuW9EHmxSmRfl/E5DtcT8fjt3Bvau8bK0hE7Bf9OjNA tOXeXhfiXIDX4HUxXO2qu42mmGwISvuKSgjsauxPUn2K1cAHtTxlr1vefaMYEZ4o+mjh X77FOJer/mATIQXSvHh4dt6JXwrMC+9Ogp67STrI1A+wxnc6tc3S1x1mmk1LWqTr7Tqe gUMEd+x9UZ2jgIrAmmbCpq3tCe13jXatiK/+ZnwaDUmFIKe+eAHiOkevVomTJep5LUb8 JoFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="gZ+7/W8j"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id gj23-20020a17090b109700b001caa9bb05d6si4631118pjb.76.2022.04.06.06.35.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:35:33 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="gZ+7/W8j"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 26FDC2C2EC6; Wed, 6 Apr 2022 04:16:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386359AbiDEMlS (ORCPT + 99 others); Tue, 5 Apr 2022 08:41:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238413AbiDEJFD (ORCPT ); Tue, 5 Apr 2022 05:05:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01F772FE75; Tue, 5 Apr 2022 01:55:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 209C7614E4; Tue, 5 Apr 2022 08:55:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A3F3C385A1; Tue, 5 Apr 2022 08:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649148957; bh=kseVb9iJ6OvlNooBTvY7IHJklc5qGVwqkw1XALp37OQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gZ+7/W8joFhwWZdR/hgjXDim5CiWEgTJhLrFPuMafS1gGOcrQxYk4kRwVVeIHl4Bu ex0ZDVCXZG1HRgEptFL7PYzuCKBCoExF7oQ14qTcI2S9c0OXZ00Laqxs/yaF2OAl/m XA+1BlKZMi5ZhD9EmIMJ355oefTkvPS3Br8FMqF8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Luiz Angelo Daros de Luca , "David S. Miller" , Sasha Levin Subject: [PATCH 5.16 0541/1017] net: dsa: realtek-smi: fix kdoc warnings Date: Tue, 5 Apr 2022 09:24:14 +0200 Message-Id: <20220405070410.347730704@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luiz Angelo Daros de Luca [ Upstream commit 0f0c6da03ba37739901ca5db4361c1ef1ae9463f ] Removed kdoc mark for incomplete struct description. Added a return description for rtl8366rb_drop_untagged. Signed-off-by: Luiz Angelo Daros de Luca Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/dsa/realtek-smi-core.h | 4 ++-- drivers/net/dsa/rtl8366rb.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/net/dsa/realtek-smi-core.h b/drivers/net/dsa/realtek-smi-core.h index 5bfa53e2480a..faed387d8db3 100644 --- a/drivers/net/dsa/realtek-smi-core.h +++ b/drivers/net/dsa/realtek-smi-core.h @@ -25,7 +25,7 @@ struct rtl8366_mib_counter { const char *name; }; -/** +/* * struct rtl8366_vlan_mc - Virtual LAN member configuration */ struct rtl8366_vlan_mc { @@ -74,7 +74,7 @@ struct realtek_smi { void *chip_data; /* Per-chip extra variant data */ }; -/** +/* * struct realtek_smi_ops - vtable for the per-SMI-chiptype operations * @detect: detects the chiptype */ diff --git a/drivers/net/dsa/rtl8366rb.c b/drivers/net/dsa/rtl8366rb.c index 03deacd83e61..2a523a33529b 100644 --- a/drivers/net/dsa/rtl8366rb.c +++ b/drivers/net/dsa/rtl8366rb.c @@ -1251,6 +1251,8 @@ rtl8366rb_port_bridge_leave(struct dsa_switch *ds, int port, * @smi: SMI state container * @port: the port to drop untagged and C-tagged frames on * @drop: whether to drop or pass untagged and C-tagged frames + * + * Return: zero for success, a negative number on error. */ static int rtl8366rb_drop_untagged(struct realtek_smi *smi, int port, bool drop) { -- 2.34.1