[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aae7de31-b027-4427-83e7-0943257ef229@quicinc.com>
Date: Mon, 24 Jun 2024 16:00:42 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Christian Koenig <christian.koenig@....com>,
Huang Rui
<ray.huang@....com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>
CC: <dri-devel@...ts.freedesktop.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH] drm/ttm/tests: add missing MODULE_DESCRIPTION() macros
On 6/9/2024 9:34 AM, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_device_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_pool_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_resource_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_tt_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_bo_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> ---
> drivers/gpu/drm/ttm/tests/ttm_bo_test.c | 1 +
> drivers/gpu/drm/ttm/tests/ttm_device_test.c | 1 +
> drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c | 1 +
> drivers/gpu/drm/ttm/tests/ttm_pool_test.c | 1 +
> drivers/gpu/drm/ttm/tests/ttm_resource_test.c | 1 +
> drivers/gpu/drm/ttm/tests/ttm_tt_test.c | 1 +
> 6 files changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/ttm/tests/ttm_bo_test.c b/drivers/gpu/drm/ttm/tests/ttm_bo_test.c
> index 1f8a4f8adc92..c18547c65985 100644
> --- a/drivers/gpu/drm/ttm/tests/ttm_bo_test.c
> +++ b/drivers/gpu/drm/ttm/tests/ttm_bo_test.c
> @@ -619,4 +619,5 @@ static struct kunit_suite ttm_bo_test_suite = {
>
> kunit_test_suites(&ttm_bo_test_suite);
>
> +MODULE_DESCRIPTION("KUnit tests for ttm_bo APIs");
> MODULE_LICENSE("GPL");
FYI I'll be posting a v2 to resolve conflicts with recent MODULE_LICENSE()
changes and to handle the addition of new test modules.
/jeff
Powered by blists - more mailing lists