Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp36287rdb; Mon, 22 Jan 2024 11:04:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdAMbKRtatCV+zmM4fDDEIDY5G2+VxwgPFCAW6My8qB/kH3sLBeWwE6w4wIGkZ/q4xZGBd X-Received: by 2002:a05:622a:1310:b0:42a:46ae:9047 with SMTP id v16-20020a05622a131000b0042a46ae9047mr1242463qtk.38.1705950282897; Mon, 22 Jan 2024 11:04:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705950282; cv=pass; d=google.com; s=arc-20160816; b=BvGngFGZuRqfi9sQwu4fEIC2M73vVGGcLsa63JXXYL92s81bhr0VIRNr20l19DIa2B DA6F5szxZzI/EIjxR65AnjaP9ug3QefytI0pu1b9mUCkFgL2IC1Ts46sHMDpsqPOw7Yt eJ0rAnEhtsn0BWnpzf9y8IbqbgtxYZhK9cJlA/y22aCGLn+Hqs4b0vdw1WRrairT9vh6 xv//Wd+PQ2i8mATWIWNrQ/k9coqserJKGtS0T1woP/x6KVBtHCmaqzBhkX2q26BnxeKj 0uhnHAAZzjliDOWblGO63bjK4F67IXvgfyIk7geq4f2MTUU5wUiFZKKxrDPi4u0Pz1Cf dHgQ== 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=9UKlActuHp1P3aKfG6Qy7nOc85t689CaZCZC6ToyYug=; fh=GTPZw7xR0eDJuVAAwmrDcy4pvvUrfHUNex+xalPbp4M=; b=UHIxY0VOhFhE0eHndkKlfRLwaUu/jbh/D/ts9zNsaeYt2Y8jh4NbY/2J49rmVZb6Fd AnN/gQstxWtLWvPjLlJDefCU5p4+GI943etKp07fSgKfN83M5TRzB4hmda5FiEbjFzCH gvzYmQXTXPoOMnJuDSDvzG2k9jlo92Slj70YMQdC8QFSRqZbqDu8ZjhXm1Pn6BQ6xHWZ I+bxBqNdE7bU3bCZXJqAGd/rC62XOhVM3YuUcOz2aGH9LnKy8bfqmmtoDA1GmM8rZcjk GSIaBgiplsA5VejWttlehEgbrB3/5jCMGi6Y/kp/w0dKIUNrX26WrKo2yWtyjri5qJer RMmQ== 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-34002-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34002-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 bp32-20020a05622a1ba000b0042a2e12d5d5si6237775qtb.230.2024.01.22.11.04.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:04:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34002-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=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-34002-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34002-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 A5AFB1C2966A for ; Mon, 22 Jan 2024 19:04:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A05465C900; Mon, 22 Jan 2024 18:46:18 +0000 (UTC) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 8BF1E5C61C; Mon, 22 Jan 2024 18:46:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949178; cv=none; b=bn1uns3SZBRARIz7Y7VlgLCkheKZDNvzZn1Rxig+MniWJ2wlyoke0KwjnmA5LQ9mSMaraxXJcMAobTkPaJBoloqIzZEbJgflAahsClXFjpgX+2FxgTdlIapDptUVQtIA83XvPj8odbUzY2rSvjlK0eKGYUa5B5Sns1Hmep75Vm0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949178; c=relaxed/simple; bh=B0r81dsvC0EhFzUUx9/LT14DSXICfpgY2H5ECg0reLs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=bGSYztpMNZ7+5iYAaGbW89ff6MhoP4HmYy5Ln2lVOh9DzASIZ1J67Mo62RgyKLgBPriIOpvRsK3Tfsw4pO0SvR7L5ELnLx97zPXp1kmRRKLRseOcklS80P2aOlhBzUKgd1akX0h3f5z9y/ASzq0ZNVhvYSmPFwXRT3Ivzj5BoJY= 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.208.51 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-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-55a8fd60af0so2410887a12.1; Mon, 22 Jan 2024 10:46:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705949174; x=1706553974; 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=9UKlActuHp1P3aKfG6Qy7nOc85t689CaZCZC6ToyYug=; b=TlILAnbmUMcBx4hxU2nhtdujdQXxu8huV+wG3qwn2b7r+3y42j8KI5jvmrmwu7+q0B Q2EngwpIB4KotVkO6eSYJzEmiJFExW15hI6nUmqDtFXQ3pFY7qvbxN/siVHS/tyGcnyF u9gzVElKWTtDSX10JeGRxBFxA4bM2t2rENklbwDI1sS52Ixpb4OgiSdR2E0VCKAinfWf Wwf/QbpmbuYCZHLVZWn9QIwFklptFwnFwgKJV/V7qfO0TRIFy8uEZVE8hkdrTkxWJ5NX STmPmnNAQgQqntZDX9Hh1b/9W2zjxWcrxG5Vda62Udxak1JmoKdUe40fp5BvPuAZvy9+ oskA== X-Gm-Message-State: AOJu0YxbOxfCwH34LSyqY2r3NQj+Gd5wkcTdGN0c6hseefwRdNwqn0+Q W11nZztUX0NlS10rnLx/h7c4jPz+qeuQ+Up1SMP+5irNd5YaKlS5 X-Received: by 2002:a05:6402:7c8:b0:559:e3d2:6ba1 with SMTP id u8-20020a05640207c800b00559e3d26ba1mr100225edy.95.1705949174353; Mon, 22 Jan 2024 10:46:14 -0800 (PST) Received: from localhost (fwdproxy-lla-000.fbsv.net. [2a03:2880:30ff::face:b00c]) by smtp.gmail.com with ESMTPSA id e9-20020a056402104900b0055c15c5919csm2269096edu.86.2024.01.22.10.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 10:46:14 -0800 (PST) From: Breno Leitao To: kuba@kernel.org, davem@davemloft.net, abeni@redhat.com, edumazet@google.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Broadcom internal kernel review list , Paolo Abeni Cc: dsahern@kernel.org, weiwan@google.com, netdev@vger.kernel.org (open list:BROADCOM BCM4908 ETHERNET DRIVER), linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next 04/22] net: fill in MODULE_DESCRIPTION()s for Broadcom bgmac Date: Mon, 22 Jan 2024 10:45:25 -0800 Message-Id: <20240122184543.2501493-5-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit W=1 builds now warn if module is built without a MODULE_DESCRIPTION(). Add descriptions to the Broadcom iProc GBit driver. Signed-off-by: Breno Leitao --- drivers/net/ethernet/broadcom/bcm4908_enet.c | 1 + drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c | 1 + drivers/net/ethernet/broadcom/bgmac-bcma.c | 1 + drivers/net/ethernet/broadcom/bgmac-platform.c | 1 + drivers/net/ethernet/broadcom/bgmac.c | 1 + 5 files changed, 5 insertions(+) diff --git a/drivers/net/ethernet/broadcom/bcm4908_enet.c b/drivers/net/ethernet/broadcom/bcm4908_enet.c index 3e7c8671cd11..a6bc5ce70230 100644 --- a/drivers/net/ethernet/broadcom/bcm4908_enet.c +++ b/drivers/net/ethernet/broadcom/bcm4908_enet.c @@ -793,5 +793,6 @@ static struct platform_driver bcm4908_enet_driver = { }; module_platform_driver(bcm4908_enet_driver); +MODULE_DESCRIPTION("Broadcom iProc GBit Ethernet driver"); MODULE_LICENSE("GPL v2"); MODULE_DEVICE_TABLE(of, bcm4908_enet_of_match); diff --git a/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c b/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c index 9b83d5361699..50b8e97a811d 100644 --- a/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c +++ b/drivers/net/ethernet/broadcom/bgmac-bcma-mdio.c @@ -260,4 +260,5 @@ void bcma_mdio_mii_unregister(struct mii_bus *mii_bus) EXPORT_SYMBOL_GPL(bcma_mdio_mii_unregister); MODULE_AUTHOR("Rafał Miłecki"); +MODULE_DESCRIPTION("Broadcom iProc GBit BCMA MDIO helpers"); MODULE_LICENSE("GPL"); diff --git a/drivers/net/ethernet/broadcom/bgmac-bcma.c b/drivers/net/ethernet/broadcom/bgmac-bcma.c index 6e4f36aaf5db..6c53ea522daf 100644 --- a/drivers/net/ethernet/broadcom/bgmac-bcma.c +++ b/drivers/net/ethernet/broadcom/bgmac-bcma.c @@ -362,4 +362,5 @@ module_init(bgmac_init) module_exit(bgmac_exit) MODULE_AUTHOR("Rafał Miłecki"); +MODULE_DESCRIPTION("Broadcom iProc GBit BCMA helpers"); MODULE_LICENSE("GPL"); diff --git a/drivers/net/ethernet/broadcom/bgmac-platform.c b/drivers/net/ethernet/broadcom/bgmac-platform.c index 0b21fd5bd457..5bdd875831f1 100644 --- a/drivers/net/ethernet/broadcom/bgmac-platform.c +++ b/drivers/net/ethernet/broadcom/bgmac-platform.c @@ -298,4 +298,5 @@ static struct platform_driver bgmac_enet_driver = { }; module_platform_driver(bgmac_enet_driver); +MODULE_DESCRIPTION("Broadcom iProc GBit platform"); MODULE_LICENSE("GPL"); diff --git a/drivers/net/ethernet/broadcom/bgmac.c b/drivers/net/ethernet/broadcom/bgmac.c index 448a1b90de5e..6ffdc4229407 100644 --- a/drivers/net/ethernet/broadcom/bgmac.c +++ b/drivers/net/ethernet/broadcom/bgmac.c @@ -1626,4 +1626,5 @@ int bgmac_enet_resume(struct bgmac *bgmac) EXPORT_SYMBOL_GPL(bgmac_enet_resume); MODULE_AUTHOR("Rafał Miłecki"); +MODULE_DESCRIPTION("Broadcom iProc GBit driver"); MODULE_LICENSE("GPL"); -- 2.39.3