HomeFreeBSD

infiniband: Disable -Wredundant-decl warnings.

Description

infiniband: Disable -Wredundant-decl warnings.

ib_uverbs_flow_resources_free() is declard in two header files in
upstream OFED. Disable the warning to avoid introducing diffs to fix
the build on GCC 9.

While here, fix the ibcore module to disable the same warnings
disabled in OFED_CFLAGS.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D31943

Details

Provenance
jhbAuthored on Sep 15 2021, 4:03 PM
Reviewer
hselasky
Differential Revision
D31943: infiniband: Disable -Wredundant-decl warnings.
Parents
R10:9553c6af881e: <linux/overflow.h>: Don't use __has_builtin().
Branches
Unknown
Tags
Unknown