Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp49897rdb; Mon, 22 Jan 2024 11:32:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IERvY5wBwbGQzi2jVT7cMnqjeGQ7bZfWgSd5tX2isSRADujXTKtlwnMj8L4ylkOJr1ckym5 X-Received: by 2002:a05:620a:112d:b0:783:9b7c:50f with SMTP id p13-20020a05620a112d00b007839b7c050fmr2896544qkk.14.1705951935668; Mon, 22 Jan 2024 11:32:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705951935; cv=pass; d=google.com; s=arc-20160816; b=mIuQd9GQuEe3oC7Z9/pGiuFrL07v9q6LqstfFPR7LIxsJlcxS5sbzsbGB6iRz/kO/b wfc69egwPB5Ez1hJ2OqHD8aBjLhD8brk6nJkB0aNWZUHJ7mooFkxiP2W64yIRq4WmvBQ mwpbQDdv9o59+rx/O97tmjNH5OSEzcuHTCBX22ziQ0Ls1+KPqZdtkB65OD4k1dN2BGZR L7OpqtJqwsF/6ZpTfQ6f9fiA8jWtcGR7fugPvoDe5vOlUwSvfrbtLgXiH1wOKAuZ8bLO IcO7SURE+FQgHSSMsKE/fhyzTKxjF8RYRhqC/huyAJXsHB1XUzN8x60n7qWnAwAbTLJo XTPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=cF/5WcGtupcAPpyn/342Z0TbwPW0vp8TDhRMkqrhsOk=; fh=W4VRwc5/sFjzRK9EO4YXctp0M+1A12mp0EuIdiiFoBw=; b=bBWr2lxZIdgSz75QJHg8O5SxbecpT7tcurgZWJ/kW82xMLbvu6C9Y15NSgsVPOzql1 XqFlYf9ADKHJOiTS3ZTWa4c8fVhIRdjtqf9wmghP0LmM6bzQF61jQyPEHa9BMP67sqnB 183k4/ZBWlFlxfjd0c1yoPnHWnv6IHgMRTxKqFkS1OA82CgWpcuAbVNIEV4A4rOmQc1k X3GBFqaOSJYl0ne1DUqAQgiet3p6HUH4x5//vaHfov4eYxg2gi2YVGxiILY6qRchr2uo jk7ltYt+sMWgG7zh93pJJXV/fpdtG9NeNN1n0zNlCqFnCOj9Lj49Uw0Wjxzm5NbHa3yI 9y0g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-34055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34055-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f24-20020ae9ea18000000b0078323154c8esi6105785qkg.445.2024.01.22.11.32.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:32:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-34055-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34055-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 352491C26BF7 for ; Mon, 22 Jan 2024 19:32:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F21483F8DB; Mon, 22 Jan 2024 19:32:05 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C75E13D553; Mon, 22 Jan 2024 19:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705951925; cv=none; b=ogzHtlUIs2EslTLhj+nA+ebXGNuDiffQI3aBu7Jf5sSEZrFfgSntLniZzr2F0AH/tCQyFU2ttcK8xoIM+KrWNt1XOOlcdfJymh8s5obWMLsUM7HDLYycGDMaLowVdB4sZE6HJ4gvwMT4Ys2/ao/Pom+rK+vnf9PmBqj1ILZ655w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705951925; c=relaxed/simple; bh=p6s5VVT4V3wWUeTopZg8BLSWXqDSEU8WgqilLe024xw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nYbACHxkJQtDYEqKdH7dlE/h/JFyaaNEM+1dTjNXoStCAgqvHe8MEBuByYPKgULj7P04Bn22/q4H3ccEa7C1VPG84XYJgeqzA2WIAKDpTERT0/v5d7duTkYyAj8H/y/PxDDB82jMg4Nn3jiP802T8pq/2lsf0dBh38d78BfCscI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1rS010-00082y-1s; Mon, 22 Jan 2024 19:31:27 +0000 Date: Mon, 22 Jan 2024 19:31:18 +0000 From: Daniel Golle To: Breno Leitao Cc: kuba@kernel.org, davem@davemloft.net, abeni@redhat.com, edumazet@google.com, Ioana Ciornei , Andrew Lunn , Heiner Kallweit , Russell King , Paolo Abeni , Alexander Couzens , Matthias Brugger , AngeloGioacchino Del Regno , Jose Abreu , dsahern@kernel.org, weiwan@google.com, "open list:LYNX PCS MODULE" , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" Subject: Re: [PATCH net-next 03/22] net: fill in MODULE_DESCRIPTION()s for PCS Layer Message-ID: References: <20240122184543.2501493-1-leitao@debian.org> <20240122184543.2501493-4-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240122184543.2501493-4-leitao@debian.org> Hi Breno, On Mon, Jan 22, 2024 at 10:45:24AM -0800, Breno Leitao wrote: > W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). > Add descriptions to the LynxI PCS MediaTek's SoC. > > Signed-off-by: Breno Leitao > --- > drivers/net/pcs/pcs-lynx.c | 1 + > drivers/net/pcs/pcs-mtk-lynxi.c | 1 + > drivers/net/pcs/pcs-xpcs.c | 1 + > 3 files changed, 3 insertions(+) > > diff --git a/drivers/net/pcs/pcs-lynx.c b/drivers/net/pcs/pcs-lynx.c > index dc3962b2aa6b..d51d09beaab3 100644 > --- a/drivers/net/pcs/pcs-lynx.c > +++ b/drivers/net/pcs/pcs-lynx.c > @@ -398,4 +398,5 @@ void lynx_pcs_destroy(struct phylink_pcs *pcs) > } > EXPORT_SYMBOL(lynx_pcs_destroy); > > +MODULE_DESCRIPTION("MediaTek SGMII library for Lynx PCS"); Nah, pcs-lynx.c is used by various SoC vendors **other than MediaTek** such as Freescale and STMicroelectronics. Users of the pcs-lynx.c driver are ethernet/stmicro/stmmac/dwmac-socfpga.c ethernet/altera/altera_tse_main.c ethernet/freescale/dpaa2/dpaa2-mac.c ethernet/freescale/enetc/enetc_pf.c ethernet/freescale/fman/fman_memac.c dsa/ocelot/felix_vsc9959.c dsa/ocelot/seville_vsc9953.c > MODULE_LICENSE("Dual BSD/GPL"); > diff --git a/drivers/net/pcs/pcs-mtk-lynxi.c b/drivers/net/pcs/pcs-mtk-lynxi.c > index 8501dd365279..4f63abe638c4 100644 > --- a/drivers/net/pcs/pcs-mtk-lynxi.c > +++ b/drivers/net/pcs/pcs-mtk-lynxi.c > @@ -303,4 +303,5 @@ void mtk_pcs_lynxi_destroy(struct phylink_pcs *pcs) > } > EXPORT_SYMBOL(mtk_pcs_lynxi_destroy); > > +MODULE_DESCRIPTION("MediaTek SGMII library for LynxI"); Ack on this one. > MODULE_LICENSE("GPL"); > diff --git a/drivers/net/pcs/pcs-xpcs.c b/drivers/net/pcs/pcs-xpcs.c > index 31f0beba638a..9c020dd3c766 100644 > --- a/drivers/net/pcs/pcs-xpcs.c > +++ b/drivers/net/pcs/pcs-xpcs.c > @@ -1456,4 +1456,5 @@ struct dw_xpcs *xpcs_create_mdiodev(struct mii_bus *bus, int addr, > } > EXPORT_SYMBOL_GPL(xpcs_create_mdiodev); > > +MODULE_DESCRIPTION("Synopsys DesignWare XPCS helpers"); > MODULE_LICENSE("GPL v2"); > -- > 2.39.3 >