Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1223721lqj; Mon, 3 Jun 2024 14:17:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVmAAoJe28O5IXKvNWzUnaSOKfb8DQauu6ZxDmY1fhVCdMIjWlBbfNayFI3ZFgvyDawRIhXKxHuz1MJEPbFR3ksUnJoAVoW8siedYpAsA== X-Google-Smtp-Source: AGHT+IFlCPqIf6A2aC+Cs1WDJjCm6BY+wm/CiPZbgx21xUaia7VZTg5Nc9xRmeODNYV06gjIVva2 X-Received: by 2002:a50:d5dd:0:b0:578:5245:3296 with SMTP id 4fb4d7f45d1cf-57a364480e7mr6350911a12.28.1717449464892; Mon, 03 Jun 2024 14:17:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717449464; cv=pass; d=google.com; s=arc-20160816; b=OjxEqTVR7G7gsNffeW2p2Eq+gckR69MTrxvMgYmNf5gbBLBz/E46VvaZD6lld3RDn9 lTxNyMupAMDARgTeAxBV/PeIWRt5541k5ZUWDyQ/9zbIa0lJvrjH45+t9mtAZerAmKj+ oso/BBLZqcpwBFJ5Y0x5MyQObMyCiL4TDTWSmOZtoSk5KP0/grmGmMffMzivrVTqtDNA bbfStOCE6emwSpXX7xioEFDnyhBxuosff3PA0APikRKFSdxw343H/cxv2lzQFIuUB9l2 AgCUaFOHDe3WtJtSzt7kOh6xiBxehYSfZCIuaYH6VEQZVmLEEW8KdBp77nPwH87VG4A4 sKIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Od+MxMb6EVINYwkiq6TT0IQbPtRsQ1o3OaovTgRN7ow=; fh=FbQUfZbIV+TWRRXzSBz7BOWHfovhagvGLXjJ1UC6TiI=; b=iMKFkylnugnactWYI1s8uX7dm4f5TnzK2DVLh1vsbpg6oxqzGJzN/oJin1CL0FSB6y cG3lcJN++btXiLuQJ7rU/ZaSy+9/6bFnqPci38js6tSpyPXsamG2xnblug0fRG6IFd+Z eifD0N2F8w+UandoebVgx7+cT0NuncmpokAtIAhfqzWawLKRj+JM2BoeUn3viKpcCzTq Z/HxTeAjPFn+lHlyfVJQxmTkEsjLMc9INz9UVfiLe0Vj6WxNk+otyOI1mDMngwGUDIFR P354wXDzSiYNVhJ5d12/dDSf0INGaE+IbOkg77ELZC/Zpsr+hvHnYYtWg04tf8Bz83/D BE0A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jFb4qDCj; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 4fb4d7f45d1cf-57a797c0d9esi349270a12.607.2024.06.03.14.17.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 14:17:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199725-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=@google.com header.s=20230601 header.b=jFb4qDCj; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199725-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.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 745411F268A2 for ; Mon, 3 Jun 2024 21:17:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A17913CA95; Mon, 3 Jun 2024 21:16:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="jFb4qDCj" Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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 0C40A13B5A6 for ; Mon, 3 Jun 2024 21:16:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449411; cv=none; b=NAaVqEneJaUWSG+e9JbmM8eWsEIeDlC8zX69EnOZAP8ojxvDsg28HY2BS0x01P+3XFgWkZfhqdhz4Pm/TYf1f7I5xrWKmgSGnPB/Ja6glZYBsCEL0U76igTGBzHN5q0rWptMd1lFeRG34pbiipbwNRA3NHk9yKTMyENQCy/28Pk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717449411; c=relaxed/simple; bh=WITYCM7yB6wt66jzOxe27ujyhdxesh+6c58JyumhZ2c=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tBk4vokSKLmXlhbSjhfsk8c2L7+XHe3T6MHTLISNSSgj1DQPxfG+/25Y9aMzomW6VcThr/QYoEkA7MiMBvsyU4FlLGuWS2C7rVYksDcV2WUpw6TLwHzIr+nIH6jMl2nBjra9YhY+qTga+oLqGXP2FnyQcyPijQRgAi8Mb9CW1Tw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=jFb4qDCj; arc=none smtp.client-ip=209.85.160.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-43dfe020675so100321cf.0 for ; Mon, 03 Jun 2024 14:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717449409; x=1718054209; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Od+MxMb6EVINYwkiq6TT0IQbPtRsQ1o3OaovTgRN7ow=; b=jFb4qDCjpaBDNoNDkdkalEoQoOf8qQYPbGGMP09GPv/nhf5B2wMBdItEjaFAFC0rGP DqX4JVeCU68q1DRbx8ppJ2V2iqjN1gwY5WDjUQlzgPeOh3m/o1U6wTuDcE23qceFO8e3 dCs4+zl1yQatDV7iBLyRanpfZDYuQBuVUBHBNSTcs3bZ44yQbFX1fFLi/rcrlGp+K3wI dtTjhSOYdA4gMQ7mdWwPCZn44MgKX4zZn55QNer9IyYD98giyUnCXConXvOcbc6K/RPX RHg5ooQmUWPRPg8EQYK7nYwFfS2o9WDwxmptUCyWnoCb/EGHJmQfsFAa7nPmxR1ZL6La IeCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717449409; x=1718054209; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Od+MxMb6EVINYwkiq6TT0IQbPtRsQ1o3OaovTgRN7ow=; b=mJHFQ4dgYRrUrBnCm0OhxYhzFl1/KJ50d8KmntvmmrfBS8F4tCRCYQyAMjq50wFf5l SasN9WW1nMEFERJR2dQ8zFa+T/Y1fgWBJLwYjiMxtG+MfFNVDL+z33dtTPHlCgkI8jxr XncKKZzFgft6LI2CyMxHeb9QW8zURi3jAR0/XJuU8aNtBSGTZXYNhQrOhYVmjg8K1cbZ 2UaqTkUtPZwxmf7tPmaqh+1AuLozRXTaCIo/buqZs4otVYmqFZQiVO3reI56uXZU4ix1 /51UVxvNCopyhSYApbnwF1WLenTEm40Ytqr8wsifZYPrb58/RAMA7ckXSBQVzYtP6sP3 7bYA== X-Forwarded-Encrypted: i=1; AJvYcCXnMo4WTv8DbbkIMTnwJCS2wlTUfQtYZTFtVX0CYBasL8FmrsT+CDe1T1PLASVuMRAs5h2lrzflVVs75zi6NUIDwPIx12FcqufLL2t7 X-Gm-Message-State: AOJu0YzR0w+k90YEBETTMu0ggeAKTIIRsKZSg4Gj+4wtQBCK0ONCDlg5 GxIQ2bsrYroHNii9m4bYX9zdtGDZ7Ud0t5A4rWf01mv5sGjqxWKPmZJy1uLKhIgbwbyRHlQ9OXH GQsADmjiJpOVgu9SR354obpnDuxPFyzLwlTqL X-Received: by 2002:a05:622a:2509:b0:43f:f192:c016 with SMTP id d75a77b69052e-4401e5f7e3fmr242281cf.5.1717449408638; Mon, 03 Jun 2024 14:16:48 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240601-md-lib-kunit-framework-v1-1-f406bb629bde@quicinc.com> In-Reply-To: <20240601-md-lib-kunit-framework-v1-1-f406bb629bde@quicinc.com> From: Rae Moar Date: Mon, 3 Jun 2024 17:16:36 -0400 Message-ID: Subject: Re: [PATCH] kunit: add missing MODULE_DESCRIPTION() macros to core modules To: Jeff Johnson Cc: Brendan Higgins , David Gow , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 1, 2024 at 1:19=E2=80=AFPM Jeff Johnson wrote: > > make allmodconfig && make W=3D1 C=3D1 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 Hello! This looks good to me. Reviewed-by: Rae Moar Thanks! -Rae > --- > 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-tes= t.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 =3D= { > */ > 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 >