linux/lib/test_memcat_p.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Test cases for memcat_p() in lib/memcat_p.c
 */
#define pr_fmt(fmt)

#include <linux/string.h>
#include <linux/slab.h>
#include <linux/module.h>

struct test_struct {};

#define MAGIC
/* Size of each of the NULL-terminated input arrays */
#define INPUT_MAX
/* Expected number of non-NULL elements in the output array */
#define EXPECT

static int __init test_memcat_p_init(void)
{}

static void __exit test_memcat_p_exit(void)
{}

module_init();
module_exit(test_memcat_p_exit);

MODULE_DESCRIPTION();
MODULE_LICENSE();