aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/tests/module.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2024-01-23 20:08:09 +0200
committerJohannes Berg <[email protected]>2024-01-26 09:47:11 +0100
commitcf74ce02e394109e16efcb4f15a8e885e9a834a7 (patch)
tree2e689f043f54b883c76ca7742c8098e7519a614d /drivers/net/wireless/intel/iwlwifi/tests/module.c
parentd60277ac3fc9c9f7887ff813c98d0a71ac2abde2 (diff)
wifi: iwlwifi: add kunit test for devinfo ordering
We used to have a test built into the code for this internally, but now we can put that into kunit and let everyone run it, to verify the devinfo table ordering if it's changed. Signed-off-by: Johannes Berg <[email protected]> Reviewed-by: Benjamin Berg <[email protected]> Reviewed-by: Gregory Greenman <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20240123200528.a4a8af7c091f.I0fb09083317b331168b99b8db39656a126a5cc4d@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/tests/module.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/tests/module.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/tests/module.c b/drivers/net/wireless/intel/iwlwifi/tests/module.c
new file mode 100644
index 000000000000..0c54f818e5a7
--- /dev/null
+++ b/drivers/net/wireless/intel/iwlwifi/tests/module.c
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
+/*
+ * Module boilerplate for the iwlwifi kunit module.
+ *
+ * Copyright (C) 2023 Intel Corporation
+ */
+#include <linux/module.h>
+
+MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("kunit tests for iwlwifi");