blob: 1670349a03ebabddc7fb3f57e7624f8972be4aed [file] [log] [blame]
Ilya Leoshkevich90c53182022-01-19 19:26:38 +01001// SPDX-License-Identifier: GPL-2.0+
2
3#include <linux/export.h>
4
5#include "test_modules.h"
6
7#define DEFINE_RETURN(i) \
8 int test_modules_return_ ## i(void) \
9 { \
10 return 1 ## i - 10000; \
11 } \
12 EXPORT_SYMBOL_GPL(test_modules_return_ ## i)
13REPEAT_10000(DEFINE_RETURN);