History log of /netbsd-src/sys/external/bsd/common/include/linux/overflow.h (Results 1 – 2 of 2)
Revision Date Author Comments
# 4975cfec 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux: Allow non-VLA structs in struct_size.

Upstream sometimes uses

struct foo {
int x;
short y[1];
};

instead of short y[] with struct_size.


# cfcba743 19-Dec-2021 riastradh <riastradh@NetBSD.org>

linux: Move linux/overflow.h from drm2 to common.

Needed so linux/slab.h can side-load it.