search for: 06e293b7cfda

Displaying 1 result from an estimated 1 matches for "06e293b7cfda".

2023 Apr 10
1
[PATCH] tools/virtio: fix build caused by virtio_ring changes
...nel.h | 5 +---- tools/virtio/linux/module.h | 1 + 4 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 tools/include/linux/container_of.h diff --git a/tools/include/linux/container_of.h b/tools/include/linux/container_of.h new file mode 100644 index 000000000000..06e293b7cfda --- /dev/null +++ b/tools/include/linux/container_of.h @@ -0,0 +1,36 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_CONTAINER_OF_H +#define _LINUX_CONTAINER_OF_H + +#include <linux/build_bug.h> +#include <linux/stddef.h> + +/** + * container_of - cast a member of a structure...