Page MenuHomeFreeBSD

LinuxKPI: Add static_assert() macro
ClosedPublic

Authored by wulf on Nov 28 2023, 8:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 25, 7:19 AM
Unknown Object (File)
Oct 17 2024, 9:28 AM
Unknown Object (File)
Oct 9 2024, 7:05 AM
Unknown Object (File)
Oct 3 2024, 9:07 AM
Unknown Object (File)
Oct 1 2024, 9:42 PM
Unknown Object (File)
Sep 28 2024, 10:04 AM
Unknown Object (File)
Sep 28 2024, 4:52 AM
Unknown Object (File)
Sep 25 2024, 4:24 PM

Details

Summary

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

Sponsored by: Serenity Cyber Security, LLC
MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Nov 28 2023, 8:57 PM
This revision is now accepted and ready to land.Nov 29 2023, 6:11 AM
bz requested changes to this revision.Dec 8 2023, 5:10 PM
bz added a subscriber: markj.
bz added inline comments.
sys/compat/linuxkpi/common/include/linux/build_bug.h
3

This last version of BUILD_BUG_ON() by itself is just:

  • Copyright (c) 2021 The FreeBSD Foundation *
  • Portions of this software were developed by Björn Zeeb
  • under sponsorship from the FreeBSD Foundation. *

Other bits by @markj according to https://reviews.freebsd.org/D10985,
Yourself 64dab63f3b3b6
hselasky / Mellanox 2460cbb4a666f217ec32dd595aa9f38ce0497fe5

So maybe cleanup the (c) on the file given this changes the context.

This revision now requires changes to proceed.Dec 8 2023, 5:10 PM

Change copyright owners to match git blame output

wulf marked an inline comment as done.Dec 9 2023, 11:14 AM

Could probably get an SPDX tag.

This revision is now accepted and ready to land.Dec 12 2023, 1:41 AM
This revision was automatically updated to reflect the committed changes.