Page MenuHomeFreeBSD

LinuxKPI: Add static_assert() macro
ClosedPublic

Authored by wulf on Nov 28 2023, 8:57 PM.
Tags
None
Referenced Files
F98418038: D42800.diff
Thu, Oct 3, 9:07 AM
Unknown Object (File)
Tue, Oct 1, 9:42 PM
Unknown Object (File)
Sat, Sep 28, 10:04 AM
Unknown Object (File)
Sat, Sep 28, 4:52 AM
Unknown Object (File)
Wed, Sep 25, 4:24 PM
Unknown Object (File)
Tue, Sep 24, 1:54 AM
Unknown Object (File)
Mon, Sep 23, 1:52 PM
Unknown Object (File)
Thu, Sep 19, 10:14 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 Passed
Unit
No Test Coverage
Build Status
Buildable 54656
Build 51545: arc lint + arc unit

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
2

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.