// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause /* * KUnit tests for the iwlwifi device info table * * Copyright (C) 2023-2024 Intel Corporation */ #include <kunit/test.h> #include <linux/pci.h> #include "iwl-drv.h" #include "iwl-config.h" MODULE_IMPORT_NS(…); static void iwl_pci_print_dev_info(const char *pfx, const struct iwl_dev_info *di) { … } static void devinfo_table_order(struct kunit *test) { … } static void devinfo_pci_ids(struct kunit *test) { … } static struct kunit_case devinfo_test_cases[] = …; static struct kunit_suite iwlwifi_devinfo = …; kunit_test_suite(…) …;