Re: [rft, PATCH v1 4/4] kernel.h: Split out ARRAY_SZIE()

Alexey Dobriyan
2022-10-24T17:29:40Z

> include/linux/array_size.h | 13 +++++++++++++

All of this is pessimisation unless you're removing

+#include <linux/array_size.h>

from kernel.h which you aren't doing.

container_of.h is just as silly.

kernel.h might need _some_ cleanup (like panic and tainted stuff) which
is rarely used but ARRAY_SIZE()?