Re: [PATCH 1/7] lib/rbtree: enable userland test suite for rbtree related data structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 04, 2025 at 01:19:46AM +0000, Wei Yang wrote:
> diff --git a/tools/include/linux/container_of.h b/tools/include/linux/container_of.h
> new file mode 100644
> index 000000000000..9adce874bea9
> --- /dev/null
> +++ b/tools/include/linux/container_of.h
> @@ -0,0 +1,5 @@
> +/* SPDX-License-Identifier: GPL-2.0 */
> +#ifndef _TOOLS_LINUX_CONTAINER_OF_H
> +#define _TOOLS_LINUX_CONTAINER_OF_H
> +
> +#endif	/* _TOOLS_LINUX_CONTAINER_OF_H */

Is there a reason you didn't move container_of() from
tools/include/linux/kernel.h to here?





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux