test_modules_helpers.c 270 B

12345678910111213
  1. // SPDX-License-Identifier: GPL-2.0+
  2. #include <linux/export.h>
  3. #include "test_modules.h"
  4. #define DEFINE_RETURN(i) \
  5. int test_modules_return_ ## i(void) \
  6. { \
  7. return 1 ## i - 10000; \
  8. } \
  9. EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
  10. REPEAT_10000(DEFINE_RETURN);