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)
Feb 10 2024, 11:07 PM
Unknown Object (File)
Feb 10 2024, 11:07 PM
Unknown Object (File)
Jan 22 2024, 11:01 PM
Unknown Object (File)
Jan 18 2024, 1:22 PM
Unknown Object (File)
Jan 5 2024, 10:38 PM
Unknown Object (File)
Jan 5 2024, 10:38 PM
Unknown Object (File)
Jan 5 2024, 10:38 PM
Unknown Object (File)
Jan 5 2024, 10:37 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.