HomeFreeBSD

LinuxKPI: Add __diag macros

Description

LinuxKPI: Add __diag macros

__diag macros turn individual warnings and errors on and off locally,
depending on version of compiler. Add dummy implementation as drm-kmod
set warnings separately for each file.

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

Details

Provenance
wulfAuthored on Jul 21 2024, 1:08 PM
Reviewer
manu
Differential Revision
D45842: LinuxKPI: Add __diag macros
Parents
rGab1a5d8e2ade: LinuxKPI: Add kmalloc_size_roundup function
Branches
Unknown
Tags
Unknown