Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp119382lqj; Sat, 1 Jun 2024 10:19:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUHWfElcR59XYMFCB4PsrljGeTg/t9RIfLUnGPCOWH86ZZ3/YAS6m0WVxT7+BBY1ifVIT/4IE8tler7JbtsfsDh23hIFEo0HHzd8Mjog== X-Google-Smtp-Source: AGHT+IGN9ItIfyGr/T7s8yIFjGJdovSm3OQVNcRPr44WWeXKEmdSQMubby2yaqbMvJJqt2SCvtbk X-Received: by 2002:a17:906:a3d4:b0:a68:e8e2:c53e with SMTP id a640c23a62f3a-a68e8e2c800mr2731166b.9.1717262383833; Sat, 01 Jun 2024 10:19:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717262383; cv=pass; d=google.com; s=arc-20160816; b=sq7re21pC0PVNW0V8ftAsE7ETqKrbBcBFs1FURBe1jMKypQCQylTCcrVMUMIXU//9W NkbhF1NHZBtD3QjsZnP//h//sr+7e14c5jeGudoXuXiPiBvX1VShpnS6lXWKDS244PB4 rCP5cZC+oXwQJp0cDhDhYw2wS9XjEDFGEE3ozdcG6rlKS8i4CF3Qiuht/1xtGZZmH2wX BaQmdSIIXkQQOfQhcCqMqec9LprVK5cCZRtDlcP5TAUkG2fncQ5L8FkiIgxyhLrP/6gv /OMqYJGB/zy+71UbCYbw+pJ9z3K64DnAmOVfCV9BAF9Uu6DC4qLKg6z16HFvjmmduGq9 3q7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=WolRTNGs22Qwu5W/wrcTRrMf/7sM+ga4NIe988M9EP0=; fh=uYKRp36RoFeTNBlNs7BlNiYUk7MVzrXSy5kXYvSXfrU=; b=sh99w3dKjPxDoJ/i0N3jqpb1DaxnPDpOk5OgCYcI/XxpJ6ogWCdk2V2RqmG4EOxiPg Ztnb0WIHWSDR50lzHoxVIn1f8ItYHhiaAPU4003Tjd/0lZqiWobfdyiZpgynV7Br1SXb MYoxpFqIXA05l+RKL6C9gp7L9NUFv92VT0Dpxb+EvYb8jCvNZv1hZyYTZDCkWMKFjWj9 HTXq8Xj9ypiWiGyP3lZEnz3isePm6sGpl0/cV3XfejSyRPzRV4i2n0HXnAIS0Rqj55uU g03wFsnrk4IrnG+rvi2e9c9bs4AHefqCi0/axrLD8Cqt0idJbMfhrokcCrfZUKL7E03d n80g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VL1ZwYSG; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-197968-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a685fc5ac4csi191917066b.133.2024.06.01.10.19.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 10:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197968-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=VL1ZwYSG; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-197968-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 888451F219A4 for ; Sat, 1 Jun 2024 17:19:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D8EB154C03; Sat, 1 Jun 2024 17:19:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="VL1ZwYSG" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4344150985; Sat, 1 Jun 2024 17:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717262371; cv=none; b=pVVhxd6fAd2liCgTHTcdGVDjE+DTomC8dpQD27YIHUJAtjKdYBZpYAXIua9CfsN6lqDXA7HQ+SIgH1uswRu94/PHqH/PFWW+zl0nAQeN/rzn5FUhpPVMzvQPJkgH4+qdnkHJZA95gRvJ0qfB/kCd81DqnFdYCg1579jm2ttOLTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717262371; c=relaxed/simple; bh=lIhn43BwQ32JA6UG4cK0p+IYzQuCHKH2dan2bZP6Kfw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=PNVClUZvoUmaGJ8dmNvuOk+mm/vMThACOx7Ep+erUL2XGUCof5hesLzEljjLARs5toZsV84Q78J3ABnK3IOo+BjO6sVPsakRrM4D9RJDoRL2iziGUTYWK14S58Iy7wTrk1ZDuJmZBZn7GuHGZHJnNm9JWZKtAHJ3lQyATcQU9RA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=VL1ZwYSG; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4515aBin026061; Sat, 1 Jun 2024 17:19:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=WolRTNGs22Qwu5W/wrcTRr Mf/7sM+ga4NIe988M9EP0=; b=VL1ZwYSGrMfUCgmf/Anf8pmVGsR9A+EHehsuWq rEirhkeBKdybSObVukQNN8AOO5zbav5gUOqybamlWJakKvfdECxk7CJahha8raU1 3OnVUaiqFn/GZdXTMkjokqP9SS3LR4fHDJMu71k+610cKtOTmO9yzCSi1nq/QLG9 ecx1QolGIwQQi7iv+n7pBeMHGIN6o7OTMh/j6wovG/J15o3mKvaz82mDNhAxwaT8 m+QQq1mdKN5kSHJb7kb05xC5VdG4P3826ta/D0fQ4NJJWxCtWIAowmpZJ26MSGSh E42xUkbePU4lSw2sm3IzFbMDjMHVictQFKhy+5qoWFFIp/eA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw59h2qn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 01 Jun 2024 17:19:13 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 451HJCQb026303 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 1 Jun 2024 17:19:12 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Sat, 1 Jun 2024 10:19:12 -0700 From: Jeff Johnson Date: Sat, 1 Jun 2024 10:19:11 -0700 Subject: [PATCH] kunit: add missing MODULE_DESCRIPTION() macros to core modules 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: 7bit Message-ID: <20240601-md-lib-kunit-framework-v1-1-f406bb629bde@quicinc.com> X-B4-Tracking: v=1; b=H4sIAA5YW2YC/x3MQQ6CMBBA0auQWTtJabQar2JctHQqE2gxM4Akh LtbXb7F/zsoCZPCvdlBaGXlqVS0pwa63pcXIcdqsMaejTMt5ogjBxyWwjMm8Zk+kwxI0cZbcOl CVwc1fgsl3v7jx7M6eCUM4kvX/3Yjl2XD7HUmgeP4Asntrn+HAAAA To: Brendan Higgins , David Gow , Rae Moar CC: , , , , "Jeff Johnson" X-Mailer: b4 0.13.0 X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: RNeXgOlWJIMjqVBM7aTCq01U20WHj6U- X-Proofpoint-ORIG-GUID: RNeXgOlWJIMjqVBM7aTCq01U20WHj6U- X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-01_11,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1011 mlxlogscore=987 bulkscore=0 phishscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406010136 make allmodconfig && make W=1 C=1 reports in lib/kunit: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit-test.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit-example-test.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- lib/kunit/kunit-example-test.c | 1 + lib/kunit/kunit-test.c | 1 + lib/kunit/test.c | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/kunit/kunit-example-test.c b/lib/kunit/kunit-example-test.c index 798924f7cc86..3056d6bc705d 100644 --- a/lib/kunit/kunit-example-test.c +++ b/lib/kunit/kunit-example-test.c @@ -374,4 +374,5 @@ static struct kunit_suite example_init_test_suite = { */ kunit_test_init_section_suites(&example_init_test_suite); +MODULE_DESCRIPTION("Example KUnit test suite"); MODULE_LICENSE("GPL v2"); diff --git a/lib/kunit/kunit-test.c b/lib/kunit/kunit-test.c index e3412e0ca399..37e02be1e710 100644 --- a/lib/kunit/kunit-test.c +++ b/lib/kunit/kunit-test.c @@ -871,4 +871,5 @@ kunit_test_suites(&kunit_try_catch_test_suite, &kunit_resource_test_suite, &kunit_current_test_suite, &kunit_device_test_suite, &kunit_fault_test_suite); +MODULE_DESCRIPTION("KUnit test for core test infrastructure"); MODULE_LICENSE("GPL v2"); diff --git a/lib/kunit/test.c b/lib/kunit/test.c index b8514dbb337c..e8b1b52a19ab 100644 --- a/lib/kunit/test.c +++ b/lib/kunit/test.c @@ -938,4 +938,5 @@ static void __exit kunit_exit(void) } module_exit(kunit_exit); +MODULE_DESCRIPTION("Base unit test (KUnit) API"); MODULE_LICENSE("GPL v2"); --- base-commit: b050496579632f86ee1ef7e7501906db579f3457 change-id: 20240601-md-lib-kunit-framework-ed2d8b6f5e76