Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp38642rdb; Mon, 22 Jan 2024 11:08:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGn7uTrXsdlzdWX+lXV/KF0jn8Bv1nC8V2KqG8mScqZuGLAD7nZgxq9z76RiWqHF27UFqp X-Received: by 2002:a05:6214:f05:b0:681:da57:5dde with SMTP id gw5-20020a0562140f0500b00681da575ddemr7987734qvb.6.1705950524025; Mon, 22 Jan 2024 11:08:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705950524; cv=pass; d=google.com; s=arc-20160816; b=R1M0nvWaclMEAi976E9ZmT/Jxf7U+Iv27STzKHyhsbRdxXES1pm7yxUIX1xcSTY/RX Cwf+/U4t0ZKh6Rfxbv01FAjJxzuqmWh+aNSyqWi5amzp2AOGYUF8A/WGh6tmAOjZ+Gh8 bnoxjXx07Kzp9Q8Odh/S4zxaF3lxh3y9SZS2r2wQ+VCYUEICxZI6JGQTHWoYwO9vY6WK B7NTQO6B7JLkua/H6RO4uWKgEnHkQ0dII4TkG3MocoV0vT2o3qUFu4HbLva89XM54iTJ LG3UrcdD1MM80YAvG59HZbMC6GQXzZDAgDdIUbbuK8Vvk77L0X/Ywa77Pq3zqvGFV99Q ZHRQ== 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=mapHSceGJSbOZ4PBXZwobXfFzhFseRWjcJJzG+y4i1M=; fh=PS7o7LZpVEjqMpn63mYCdO/plgTLjgm2rdloSkPTFIw=; b=vDjFOWysQxYW77rp1fjuReU8pHAI6IeNOA+b1dKiaw3vnXd5bG59+tr5esoWsF6Tf+ onJZfR6wTcVOTriDXff+lN7AsYP1XdfLhN6hPcYcASfejAIMx7NWnF1B+C3uOP8mwc42 kFC+i6tzoeZxFypSUhZgfQGdC9oKBV+sb0+NCicsdEneAW6H1qOlBsYvIl0GzH412zja PZy5OCaXWsx77kVzsmqry8F7FjFu/P2pruDiIYcR7ecA+60UcMd0KExJwwcw6KGD3u4R Ht/c9Y/8R4dGKFN3FsEwLSnU4vLKr90nij0W28JO31tTZzpk7tn2b7jXrZcHFYwpYpZK Jr0Q== 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-34014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34014-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id r5-20020a0cb285000000b0068171ee32basi6369000qve.213.2024.01.22.11.08.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34014-linux.lists.archive=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-34014-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34014-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 C50C11C2A5C2 for ; Mon, 22 Jan 2024 19:08:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D8E45FDB1; Mon, 22 Jan 2024 18:46:47 +0000 (UTC) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 5A25E5FDA7; Mon, 22 Jan 2024 18:46:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949206; cv=none; b=EOIPeK2UH+rOdTPC2D8vzhJQ44+MtvQk+OKHfm41MPh6Hh5zPCXbIW2lNuMeZiO/MOuKZwbx69M/kJ+4QMFTWu3zMHoHTLhuGhaD3LkQX8bEIEunyn/b83ZbjyyXgcpv9Fr06Dkf7SHtEysmTzudtCinvCTRFRogHEPQgRlQCOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949206; c=relaxed/simple; bh=YDcIfrSfiKN2NdFdSMGt71sDj46tBtRgUz/vCg7Mrxk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=p/7WYWZLVlxZI32PFwvzOXlBZl+iqomY5pcEiM/4yJbMlufAUS6GMh8j9i8s20Uq6cKdqhZ7T9ZfGhQLihwMdXtLxwIzwlclX6srtDOPgxoOKt0RTXYbBP3UsVNt0wUUmN0RvoH7uBESyiREsc3azeL/Qct/DQq2xULaI8ZCyxY= 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.167.49 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-lf1-f49.google.com with SMTP id 2adb3069b0e04-50eac018059so4731839e87.0; Mon, 22 Jan 2024 10:46:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705949203; x=1706554003; 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=mapHSceGJSbOZ4PBXZwobXfFzhFseRWjcJJzG+y4i1M=; b=ZN6R9xbl6MXAbhjl+3Y6+LXAd7q00QilcejQqmXt1syJ1EY15CgOPXYDksyFYGTfNS tiU453kDX/Sxp5JHtM0aphBH5lL7fOSCgnAxM82uapzYQ4mCvxU0LlsTGKYeZESHPgJM 9XKXA5DwOoDDVE4zjsmGSKovuGpAjjechSL3bwCeFry8XcW4rutwUzos3Hiljm7cDH/5 3pMs6jidZ7hv8ebnwvSGr8kct8PlaRSkLO/35v98X46BaLdK6WYFuvBI3J4htKua2e/3 l4J0miXajV88jMA3j1qKTcM3nFBKFRvnTmEcuAnwRtzACMCuYqWckI86/QmLRpFaeInl /DDA== X-Gm-Message-State: AOJu0YzBi7/J1lh9+qWKrAEeW45sSvX/Xv8j0K3Qewpu1MEqng4wUWLn hinrK/wRT82cspWbDkuHxFT2ESr9a4O532wJhGMEHs3WdBNMebUU X-Received: by 2002:a05:6512:1115:b0:50e:f4c0:52b3 with SMTP id l21-20020a056512111500b0050ef4c052b3mr2823678lfg.44.1705949203268; Mon, 22 Jan 2024 10:46:43 -0800 (PST) Received: from localhost (fwdproxy-lla-120.fbsv.net. [2a03:2880:30ff:78::face:b00c]) by smtp.gmail.com with ESMTPSA id hw10-20020a170907a0ca00b00a2ea4f1b0cesm7134348ejc.2.2024.01.22.10.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 10:46:42 -0800 (PST) From: Breno Leitao To: kuba@kernel.org, davem@davemloft.net, abeni@redhat.com, edumazet@google.com, Nicolas Pitre , Paolo Abeni , Steve Glendinning Cc: dsahern@kernel.org, weiwan@google.com, =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Andy Shevchenko , netdev@vger.kernel.org (open list:NETWORKING DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next 15/22] net: fill in MODULE_DESCRIPTION()s for SMSC drivers Date: Mon, 22 Jan 2024 10:45:36 -0800 Message-Id: <20240122184543.2501493-16-leitao@debian.org> X-Mailer: git-send-email 2.39.3 In-Reply-To: <20240122184543.2501493-1-leitao@debian.org> References: <20240122184543.2501493-1-leitao@debian.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the SMSC 91x/911x/9420 Ethernet drivers. Signed-off-by: Breno Leitao Please enter the commit message for your changes. Lines starting --- drivers/net/ethernet/smsc/smc91x.c | 1 + drivers/net/ethernet/smsc/smsc911x.c | 1 + drivers/net/ethernet/smsc/smsc9420.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/net/ethernet/smsc/smc91x.c b/drivers/net/ethernet/smsc/smc91x.c index 758347616535..56836b75d894 100644 --- a/drivers/net/ethernet/smsc/smc91x.c +++ b/drivers/net/ethernet/smsc/smc91x.c @@ -98,6 +98,7 @@ static int watchdog = 1000; module_param(watchdog, int, 0400); MODULE_PARM_DESC(watchdog, "transmit timeout in milliseconds"); +MODULE_DESCRIPTION("SMSC LAN911x/LAN921x Ethernet driver"); MODULE_LICENSE("GPL"); MODULE_ALIAS("platform:smc91x"); diff --git a/drivers/net/ethernet/smsc/smsc911x.c b/drivers/net/ethernet/smsc/smsc911x.c index 31cb7d0166f0..cb04746bc0dd 100644 --- a/drivers/net/ethernet/smsc/smsc911x.c +++ b/drivers/net/ethernet/smsc/smsc911x.c @@ -56,6 +56,7 @@ #define SMSC_MDIONAME "smsc911x-mdio" #define SMSC_DRV_VERSION "2008-10-21" +MODULE_DESCRIPTION("SMSC LAN9420 Ethernet driver"); MODULE_LICENSE("GPL"); MODULE_VERSION(SMSC_DRV_VERSION); MODULE_ALIAS("platform:smsc911x"); diff --git a/drivers/net/ethernet/smsc/smsc9420.c b/drivers/net/ethernet/smsc/smsc9420.c index e1c4a11c1f18..15cb96c2506d 100644 --- a/drivers/net/ethernet/smsc/smsc9420.c +++ b/drivers/net/ethernet/smsc/smsc9420.c @@ -26,6 +26,7 @@ #define DRV_DESCRIPTION "SMSC LAN9420 driver" #define DRV_VERSION "1.01" +MODULE_DESCRIPTION("SMSC LAN9420 Ethernet driver"); MODULE_LICENSE("GPL"); MODULE_VERSION(DRV_VERSION); -- 2.39.3