Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp177485lqp; Tue, 11 Jun 2024 00:30:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW20Eq4UWItjl6wCKAFZ42GYMfO0MS454TEkXsdX+nChhG+ZmFjoRTcX89kAksNcP4iRA3D3vtYyFW8XLyspW9UpmFZYQVo6M40DIkhVA== X-Google-Smtp-Source: AGHT+IFEIfE8vy+TLrjjlRZ2MLHrxgeuMhFxBcwkreugtD0absjC8JjkSxMKb691+1ZOVu9DPx43 X-Received: by 2002:a05:620a:3954:b0:795:52c2:4cb8 with SMTP id af79cd13be357-79552c24ec3mr971817585a.24.1718091021291; Tue, 11 Jun 2024 00:30:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718091021; cv=pass; d=google.com; s=arc-20160816; b=W0NCyYH+IGfwquGxgjWdWY1wy4OLLxF6PxmByZKtgwremcenr48rMUsHyjOdVlYTrK AltXF9UEqzqGoDnDea8Vs4L+nRgQDnE89AVbJpuY4/ho6s62R27NtVS/X55lv+p2gLNw 0ckD+hkXiIkRzPNGV/tz9ILbcpHLB2yIwJdukNARFuU4ltBIPEqG0tzp1sGhh1JxoorK a2W+RHPUNrUG63OOpPKE84eakjL8dI06s4dwPXIbWHSSo+VetveqbM8w+Bohn86BaX5O 9672BATD0rnAmeAalYp+2XzpwcsbT/GOqmBhlJRfcS1yTZtQwhP5zNa01T9KYDY/YhTm pUZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:message-id:references:in-reply-to:subject :cc:to:from:date:dkim-signature:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=vdaMoEnTDtvgD8I+Uno75VA5I/ban+WgDT8n3yc4lCA=; fh=MR08ZrM8FqpVVdjg386T4iKK2O4utULcmkTj5paTjRc=; b=yXC5KuwHi2ZJZ+Sk4oPS97YRz+nCvOVo2PD8t53yP7fJiaIjxDLiv3GSVfkA9NxOYO SzQD4wSswHlR0Q69Edq2vGw4BQC3wFqLLgYHrru+USX/erV1+9/xro/ArXK7RV5rx3VE ON+t1/zSuEuHKo1OdRVtz6Qkem18oNIp8RGhxPd3LCBoL9TiPAm7Y/1gA+gMF78Iurml KLaOmf+GL2C9Dobf8xJYZhmzkI9UbNMerH49GILsxKqWFKZ1J2rPWzVElQ2kWToUXzEo moK5G71VdISKlF9AkZkAhM+0XSj8mpRBy6MN3o8tkXuMoHCxDVeZY80GfoiHtzFfegvQ j5FQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@manjaro.org header.s=2021 header.b="wPU4n/Gw"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-209377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.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 af79cd13be357-7953333fbd4si1206775385a.616.2024.06.11.00.30.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 00:30:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209377-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; dkim=pass header.i=@manjaro.org header.s=2021 header.b="wPU4n/Gw"; arc=pass (i=1 spf=pass spfdomain=manjaro.org dkim=pass dkdomain=manjaro.org dmarc=pass fromdomain=manjaro.org); spf=pass (google.com: domain of linux-kernel+bounces-209377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209377-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=manjaro.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 EDF0E1C22385 for ; Tue, 11 Jun 2024 07:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B47A8171E76; Tue, 11 Jun 2024 07:30:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b="wPU4n/Gw" Received: from mail.manjaro.org (mail.manjaro.org [116.203.91.91]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D650172773; Tue, 11 Jun 2024 07:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.91.91 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718091009; cv=none; b=Ws6VtvibiL0xGt2bxMHuVjXOi/SkRq0hMQv3wpYiFwlbI2wB6a2dTOn23Zuvzb/5El0KkTswwv8Koks1+jmPHKdlQC3lpMXqEeVUy5uHSr5Hg2MCX/V6sAxsshcPpQ93OXD8yjlCkt4bzj2J8Li9zyd52etcD0hrM8YNqu/jY2M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718091009; c=relaxed/simple; bh=uf0SF1oNbuDXzEY9wmV/rDi/IXN4m+CWwdsB3yedEhM=; h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References: Message-ID:Content-Type; b=JTVDJiavN2gA6gpkdeIc82GC7VljPOOGho7TNqWzUd/vUDvK+tmobVfStRP/wjOq5VBa79olH6SuVHDw1u6GBtrjGJpMyCSxN4YxPrxkFsQvsewQxHn5QkSieQEWddB7EYIfpQqFMeOen6UpodKaoK6uIzfFdjuFP0ip4STcNoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org; spf=pass smtp.mailfrom=manjaro.org; dkim=pass (2048-bit key) header.d=manjaro.org header.i=@manjaro.org header.b=wPU4n/Gw; arc=none smtp.client-ip=116.203.91.91 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=manjaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manjaro.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1718091002; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vdaMoEnTDtvgD8I+Uno75VA5I/ban+WgDT8n3yc4lCA=; b=wPU4n/Gw+9Saq9zhwbu7iND2gCs2KaWziMCtXASBaApTumAjl52W2/m181X+WtIL0C1tve 79mSNgKHdXGi4S+Mos7Zwgg1YDHEFWxkohdcFzEv2ETWWNmmRa2IF00d2AahEQN1Zq05TY LJBVZM9YWqyzc0bdWEl8K2gX1/nHlI92ks8dxsv1RfY4IFlaTbReO8smj0qXFdzu06YbXR 0QsAhmD+7X1nCElNS/Thx2h59V0cJL1iSUyKT80SpnPZMWTNwkPcoZ4W008NWhWTC5G07b QZ2vqrLrgiIj7HwrHy9/h9jZpaPWYRIZa8lfocGhj3NeYG00E/yhe1/17hpMOw== Date: Tue, 11 Jun 2024 09:29:59 +0200 From: Dragan Simic To: Jeff Johnson Cc: Ulf Hansson , Wolfram Sang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] mmc: add missing MODULE_DESCRIPTION() macros In-Reply-To: <20240610-md-drivers-mmc-v1-1-c2a2593e4121@quicinc.com> References: <20240610-md-drivers-mmc-v1-1-c2a2593e4121@quicinc.com> Message-ID: <8f2e755bd711b566274119762b19505d@manjaro.org> X-Sender: dsimic@manjaro.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Authentication-Results: ORIGINATING; auth=pass smtp.auth=dsimic@manjaro.org smtp.mailfrom=dsimic@manjaro.org Hello Jeff, Thanks for the patch. Please see a few comments below. On 2024-06-10 16:17, Jeff Johnson wrote: > make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/host/of_mmc_spi.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/host/tmio_mmc_core.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/host/renesas_sdhi_core.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/core/mmc_core.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/core/pwrseq_simple.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/core/pwrseq_sd8787.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/core/pwrseq_emmc.o > WARNING: modpost: missing MODULE_DESCRIPTION() in > drivers/mmc/core/sdio_uart.o > > Add the missing invocations of the MODULE_DESCRIPTION() macro. > > Signed-off-by: Jeff Johnson > --- > Corrections to these descriptions are welcomed. I'm not an expert in > this code so in most cases I've taken these descriptions directly from > code comments, Kconfig descriptions, or git logs. History has shown > that in some cases these are originally wrong due to cut-n-paste > errors, and in other cases the drivers have evolved such that the > original information is no longer accurate. > --- > drivers/mmc/core/core.c | 1 + > drivers/mmc/core/pwrseq_emmc.c | 1 + > drivers/mmc/core/pwrseq_sd8787.c | 1 + > drivers/mmc/core/pwrseq_simple.c | 1 + > drivers/mmc/core/sdio_uart.c | 1 + > drivers/mmc/host/of_mmc_spi.c | 1 + > drivers/mmc/host/renesas_sdhi_core.c | 1 + > drivers/mmc/host/tmio_mmc_core.c | 1 + > 8 files changed, 8 insertions(+) > > diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c > index a8c17b4cd737..d6c819dd68ed 100644 > --- a/drivers/mmc/core/core.c > +++ b/drivers/mmc/core/core.c > @@ -2362,4 +2362,5 @@ static void __exit mmc_exit(void) > subsys_initcall(mmc_init); > module_exit(mmc_exit); > > +MODULE_DESCRIPTION("MMC core driver"); > MODULE_LICENSE("GPL"); > diff --git a/drivers/mmc/core/pwrseq_emmc.c > b/drivers/mmc/core/pwrseq_emmc.c > index 3b6d69cefb4e..fff30330574f 100644 > --- a/drivers/mmc/core/pwrseq_emmc.c > +++ b/drivers/mmc/core/pwrseq_emmc.c > @@ -115,4 +115,5 @@ static struct platform_driver > mmc_pwrseq_emmc_driver = { > }; > > module_platform_driver(mmc_pwrseq_emmc_driver); > +MODULE_DESCRIPTION("HW reset support for eMMC"); "Hardware reset support for eMMC" would read a bit better. > MODULE_LICENSE("GPL v2"); > diff --git a/drivers/mmc/core/pwrseq_sd8787.c > b/drivers/mmc/core/pwrseq_sd8787.c > index 0c5808fc3206..f24bbd68e251 100644 > --- a/drivers/mmc/core/pwrseq_sd8787.c > +++ b/drivers/mmc/core/pwrseq_sd8787.c > @@ -130,4 +130,5 @@ static struct platform_driver > mmc_pwrseq_sd8787_driver = { > }; > > module_platform_driver(mmc_pwrseq_sd8787_driver); > +MODULE_DESCRIPTION("Power sequence support for Marvell SD8787 BT + > Wifi chip"); > MODULE_LICENSE("GPL v2"); > diff --git a/drivers/mmc/core/pwrseq_simple.c > b/drivers/mmc/core/pwrseq_simple.c > index df9588503ad0..97f6d69d9c80 100644 > --- a/drivers/mmc/core/pwrseq_simple.c > +++ b/drivers/mmc/core/pwrseq_simple.c > @@ -159,4 +159,5 @@ static struct platform_driver > mmc_pwrseq_simple_driver = { > }; > > module_platform_driver(mmc_pwrseq_simple_driver); > +MODULE_DESCRIPTION("Simple HW reset support for MMC"); "Simple power sequence management for MMC" would be more accurate. > MODULE_LICENSE("GPL v2"); > diff --git a/drivers/mmc/core/sdio_uart.c > b/drivers/mmc/core/sdio_uart.c > index 575ebbce378e..6b7471dba3bf 100644 > --- a/drivers/mmc/core/sdio_uart.c > +++ b/drivers/mmc/core/sdio_uart.c > @@ -1162,4 +1162,5 @@ module_init(sdio_uart_init); > module_exit(sdio_uart_exit); > > MODULE_AUTHOR("Nicolas Pitre"); > +MODULE_DESCRIPTION("SDIO UART/GPS driver"); > MODULE_LICENSE("GPL"); > diff --git a/drivers/mmc/host/of_mmc_spi.c > b/drivers/mmc/host/of_mmc_spi.c > index bf54776fb26c..05939f30a5ae 100644 > --- a/drivers/mmc/host/of_mmc_spi.c > +++ b/drivers/mmc/host/of_mmc_spi.c > @@ -19,6 +19,7 @@ > #include > #include > > +MODULE_DESCRIPTION("OpenFirmware bindings for the MMC-over-SPI > driver"); > MODULE_LICENSE("GPL"); > > struct of_mmc_spi { > diff --git a/drivers/mmc/host/renesas_sdhi_core.c > b/drivers/mmc/host/renesas_sdhi_core.c > index 12f4faaaf4ee..d62a4ed86775 100644 > --- a/drivers/mmc/host/renesas_sdhi_core.c > +++ b/drivers/mmc/host/renesas_sdhi_core.c > @@ -1162,4 +1162,5 @@ void renesas_sdhi_remove(struct platform_device > *pdev) > } > EXPORT_SYMBOL_GPL(renesas_sdhi_remove); > > +MODULE_DESCRIPTION("Renesas SDHI driver"); "Renesas SDHI core driver" would be a bit more accurate. > MODULE_LICENSE("GPL v2"); > diff --git a/drivers/mmc/host/tmio_mmc_core.c > b/drivers/mmc/host/tmio_mmc_core.c > index 93e912afd3ae..c1a4ade5f949 100644 > --- a/drivers/mmc/host/tmio_mmc_core.c > +++ b/drivers/mmc/host/tmio_mmc_core.c > @@ -1319,4 +1319,5 @@ int tmio_mmc_host_runtime_resume(struct device > *dev) > EXPORT_SYMBOL_GPL(tmio_mmc_host_runtime_resume); > #endif > > +MODULE_DESCRIPTION("TMIO MMC core driver"); > MODULE_LICENSE("GPL v2"); > > --- > base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 > change-id: 20240610-md-drivers-mmc-cb5f273b5b33