mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 23:34:00 -04:00
When built with W=1, the following warnings show up on modpost: MODPOST drivers/gpu/drm/xe/Module.symvers WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_bo_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_dma_buf_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_migrate_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_pci_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_rtp_test.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/gpu/drm/xe/tests/xe_wa_test.o Add the module description for each of these to fix the warning. Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Link: https://lore.kernel.org/r/20231120221904.695630-1-lucas.demarchi@intel.com Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
26 lines
529 B
C
26 lines
529 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#include "xe_dma_buf_test.h"
|
|
|
|
#include <kunit/test.h>
|
|
|
|
static struct kunit_case xe_dma_buf_tests[] = {
|
|
KUNIT_CASE(xe_dma_buf_kunit),
|
|
{}
|
|
};
|
|
|
|
static struct kunit_suite xe_dma_buf_test_suite = {
|
|
.name = "xe_dma_buf",
|
|
.test_cases = xe_dma_buf_tests,
|
|
};
|
|
|
|
kunit_test_suite(xe_dma_buf_test_suite);
|
|
|
|
MODULE_AUTHOR("Intel Corporation");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_DESCRIPTION("xe_dma_buf kunit test");
|
|
MODULE_IMPORT_NS(EXPORTED_FOR_KUNIT_TESTING);
|