diff mbox series

iommu/arm-smmu-v3: add missing MODULE_DESCRIPTION() macro

Message ID 20240613-md-arm64-drivers-iommu-arm-arm-smmu-v3-v1-1-0e9f7584a5c8@quicinc.com (mailing list archive)
State New, archived
Headers show
Series iommu/arm-smmu-v3: add missing MODULE_DESCRIPTION() macro | expand

Commit Message

Jeff Johnson June 13, 2024, 7:44 p.m. UTC
With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240613-md-arm64-drivers-iommu-arm-arm-smmu-v3-113449cddcba

Comments

Jason Gunthorpe June 19, 2024, 4:34 p.m. UTC | #1
On Thu, Jun 13, 2024 at 12:44:17PM -0700, Jeff Johnson wrote:
> With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.o

Weird I never saw that..

> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c | 1 +
>  1 file changed, 1 insertion(+)

Fixes: da55da5a42d4 ("iommu/arm-smmu-v3: Make the kunit into a module")
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason
Jeff Johnson June 29, 2024, 2:47 a.m. UTC | #2
On 6/19/2024 9:34 AM, Jason Gunthorpe wrote:
> On Thu, Jun 13, 2024 at 12:44:17PM -0700, Jeff Johnson wrote:
>> With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
>> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.o
> 
> Weird I never saw that..
> 
>> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>>
>> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
>> ---
>>  drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c | 1 +
>>  1 file changed, 1 insertion(+)
> 
> Fixes: da55da5a42d4 ("iommu/arm-smmu-v3: Make the kunit into a module")
> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Following up to see if anything else is needed from me. Hoping to see this in
linux-next so I can remove it from my tracking spreadsheet :)

/jeff
Will Deacon July 2, 2024, 6:44 p.m. UTC | #3
On Thu, 13 Jun 2024 12:44:17 -0700, Jeff Johnson wrote:
> With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> 

Applied to will (for-joerg/arm-smmu/updates), thanks!

[1/1] iommu/arm-smmu-v3: add missing MODULE_DESCRIPTION() macro
      https://git.kernel.org/will/c/a35f443d837f

Cheers,
diff mbox series

Patch

diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c
index 315e487fd990..eea554dddaeb 100644
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-test.c
@@ -465,4 +465,5 @@  static struct kunit_suite arm_smmu_v3_test_module = {
 kunit_test_suites(&arm_smmu_v3_test_module);
 
 MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING);
+MODULE_DESCRIPTION("KUnit tests for arm-smmu-v3 driver");
 MODULE_LICENSE("GPL v2");