HomeFreeBSD

qat: Move CWARNFLAGS down so it works.

Description

qat: Move CWARNFLAGS down so it works.

CWARNFLAGS must be added to after including kern.mk, otherwise all the
warnings set in kern.mk are ignored. This is why the
-Wmissing-prototypes warnings were not seen previously.

While here, drop -Wno-pointer-sign as it is doesn't seem to be needed,
but add -Wno-cast-qual to silence warnings for various casts of const
pointers to non-const pointers.

Reviewed by: MichalX.Gulbicki_intel.com, markj
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D36332

Details

Provenance
jhbAuthored on Sep 2 2022, 9:52 PM
Reviewer
MichalX.Gulbicki_intel.com
Differential Revision
D36332: qat: Move CWARNFLAGS down so it works.
Parents
rG1c4c92f91b41: qat: Add #includes for missing prototypes.
Branches
Unknown
Tags
Unknown