History log of /freebsd-current/sys/compat/linuxkpi/common/include/linux/build_bug.h
Revision Date Author Comments
# 344a04ad 27-Dec-2023 Mark Johnston <markj@FreeBSD.org>

linuxkpi: Annotate an unused variable as such

This addresses a -Wunused-but-set-variable warning in the gcc builds.

No functional change intended.

Reported by: Jenkins


# 31ef2909 24-Dec-2023 Vladimir Kondratyev <wulf@FreeBSD.org>

LinuxKPI: Add static_assert() macro

And move it along BUILD_BUG family in to
linux/build_bug.h to match Linux.

Sponsored by: Serenity Cyber Security, LLC
Reviewed by: manu, bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D42800