Linux Audio

Check our new training course

Loading...
v6.13.7
 1// 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);
v6.8
 1// 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);