From patchwork Thu Jan 25 19:34:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Breno Leitao X-Patchwork-Id: 192278 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:e09d:b0:103:945f:af90 with SMTP id gm29csp211832dyb; Thu, 25 Jan 2024 11:39:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEdNnaf/f0IYpIeep+6fVFv8BBNIQlLlwowK3to/jgzdDFIgYzkayPGn6aSOTHMZftmZA4 X-Received: by 2002:a05:622a:40b:b0:42a:43ec:a91c with SMTP id n11-20020a05622a040b00b0042a43eca91cmr204317qtx.70.1706211599638; Thu, 25 Jan 2024 11:39:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706211599; cv=pass; d=google.com; s=arc-20160816; b=XtQezz8en0mv+sf2k/16xIQn7icC0TMI7JROXe1vlM0Rv/Nzea2JGsYudBrJT7DSWR gzM+S94Viry8HrToUnGyaOTKoSo8E+s8K4L7k8W+mkpRtDi8x/qm7wCnZU+yDsbTyVt9 fAjc31qpSkKl4XcW5e7qsz+xspnDd9E1Car4KjYtQQmlJ3bSOCMG5eM0wIAcjRUyHd3Z Hjf5ECfJ5in9r9vhW31cDSpLbsHqAhTnQQI948nFnVKjGX9Me5k1ZMXdW59IgQA6Rb+Y CYLlkj9TiU8iGYT2J+mOwu3HF+BtzSYHJeDhIXHRX3ij2aHnf0cJeJBxBaLmpiKuoO3w Ke2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=QjqvkLmk8VDSM4lbemx7hZHtV6yp8+TOJnRN6X8CIwM=; fh=YgBvnU4AVn9SxWyqPcTYU3xK/7VAwDhcCT33jPtWJyQ=; b=eXElZ2eSvtuXdM7yr3w+0mIkCCw97HlvTBGIL0/jeYuYtqVkgeK9asSn+8D/+hb3GT aK3O2EATaNz2oDKr1jVynp36fTJ7oJ5WxRfRjF1x0edmHPl0KFNADyjVwfRL34nVrROF 5aR4ga7lxUl1Yy2mr7L04NDezkJieUmUqEh9bVa4nhaRn6OIvl20wKCnbdgc/VoUr5k2 4fjjKIErWU2NcT4SPqzghrWY5lOSf5oK/YtY09ZGIynNC+OBk6OG+hkIj4UOspuVHWfz hVxX0Q/Ix9rvwrbpeU+c2qw6PojL5ywgzJSQrqUsE83i4jhe65SANj2q4DfBnFzLErNk H44w== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-39206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39206-ouuuleilei=gmail.com@vger.kernel.org" Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id l22-20020a05622a175600b0042a5b58d56csi4976768qtk.786.2024.01.25.11.39.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 11:39:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-39206-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39206-ouuuleilei=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 5DF8C1C22EE3 for ; Thu, 25 Jan 2024 19:39:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C224A13E23B; Thu, 25 Jan 2024 19:35:20 +0000 (UTC) Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A46F713E209; Thu, 25 Jan 2024 19:35:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706211319; cv=none; b=tLd5I91D1O4wNPHShgfD/LBfQzfmJpfSlywKDE4B/QFB26VjMweM9bhUJxVRxYzrc4dDwlnLqmj0tTr8jmhde/+du4e3iDX4mwhHYYos2NU1T0gQmjjx0tps/0unJx0ngkCBNne7j2gpezudUei0gYDVGjYkMpZvNYTT3b7Fugw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706211319; c=relaxed/simple; bh=S6CEobn82H7aa4VdkMxFBDE3DznWGAYJhFkl8Y123XQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l50eIiiABkB1DOhpm9ilx21RHNKwuB2BysdMa0ZrgC8nKRWd43rUUr1UYXJKP4bDxwFeXTeuNLBkqlxJDuN8CQzvXj9E8a5yRXxtnEPc/yO1BtUXyLoCXu5pwJk9oA5tG113a0NMesF4G9rbPtrTsKTAaZqXwZWh88NLDJZhiKY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.218.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a314ca7852cso175390766b.3; Thu, 25 Jan 2024 11:35:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706211316; x=1706816116; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QjqvkLmk8VDSM4lbemx7hZHtV6yp8+TOJnRN6X8CIwM=; b=hDWQeE2bwnfQvzvO2urhb54P3w+Y1NCA+N8nRIfKzLhsyH5X5lAjXLQv7fr4zRUV+Z qhGDdnweFII4dOlbhSy5/8UTaKRa/ecSu86s/gNsALFai/hudZBuTxO6Qkm0uWEY/JOq QCfWDz6RXVGKu/4cRycWLdA7SO+pFrjj3Jhu/TWp7w/u3YWggz4nBBEzbL/Oc2qQ/PBI TY8OGwSJ/Eohu7iGen0Xi42uBwqJZPzDPzaf56LvQFt+S9KZLbM3kX9lSKCTr/7wos6w wajUWt2UmlTvYl1fbwxmcOZBERABHlPtZr8rWZ19cLz7ZJFb5sA3g27lP9V/ZaAffeWY 5D9Q== X-Gm-Message-State: AOJu0Yx9wmHFpGgjXOnmtar4SrA2tUJLDgte5oK5hqPCUwJSeu+o4236 Rc++twGvfYeGOYNLC6dmc3Ygr/GIblxcdOPLiU9RJZIqGlq3Wp8Z X-Received: by 2002:a17:906:f291:b0:a31:4378:288c with SMTP id gu17-20020a170906f29100b00a314378288cmr52427ejb.120.1706211315809; Thu, 25 Jan 2024 11:35:15 -0800 (PST) Received: from localhost (fwdproxy-lla-116.fbsv.net. [2a03:2880:30ff:74::face:b00c]) by smtp.gmail.com with ESMTPSA id vi2-20020a170907d40200b00a30ed424e18sm1330363ejc.41.2024.01.25.11.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 11:35:15 -0800 (PST) From: Breno Leitao To: kuba@kernel.org, davem@davemloft.net, pabeni@redhat.com, edumazet@google.com, Ioana Ciornei , Andrew Lunn , Heiner Kallweit , Russell King , Alexander Couzens , Daniel Golle , Matthias Brugger , AngeloGioacchino Del Regno , Jose Abreu Cc: dsahern@kernel.org, weiwan@google.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org (moderated list:ARM/Mediatek SoC support), linux-mediatek@lists.infradead.org (moderated list:ARM/Mediatek SoC support) Subject: [PATCH net 08/10] net: fill in MODULE_DESCRIPTION()s for PCS drivers Date: Thu, 25 Jan 2024 11:34:18 -0800 Message-Id: <20240125193420.533604-9-leitao@debian.org> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240125193420.533604-1-leitao@debian.org> References: <20240125193420.533604-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789092534281085847 X-GMAIL-MSGID: 1789092534281085847 W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Lynx, XPCS and LynxI PCS drivers. Signed-off-by: Breno Leitao Reviewed-by: Andrew Lunn --- 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..853b8c138718 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("NXP Lynx PCS phylink library"); 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"); MODULE_LICENSE("GPL"); diff --git a/drivers/net/pcs/pcs-xpcs.c b/drivers/net/pcs/pcs-xpcs.c index 31f0beba638a..52a7757ee419 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 library"); MODULE_LICENSE("GPL v2");