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

(cherry picked from commit 44126818d2ec96d8247eafcae9b96905a473a264)

Details

Provenance
jhbAuthored on Sep 15 2021, 4:03 PM
Reviewer
hselasky
Differential Revision
D31943: infiniband: Disable -Wredundant-decl warnings.
Parents
rGe66d34dfc5c2: Assert that invalid bus widths can't be passed to bus_width_str().
Branches
Unknown
Tags
Unknown