Page MenuHomeFreeBSD

infiniband: Disable -Wredundant-decl warnings.

Authored by jhb on Sep 13 2021, 6:24 PM.



ib_uverbs_flow_resources_free() is declard in two header files in
upstream OFED. Disable the warning rather 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.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb requested review of this revision.Sep 13 2021, 6:24 PM

I'll have to revisit this at some point. OK for now.

This revision is now accepted and ready to land.Sep 14 2021, 7:47 AM
This revision was automatically updated to reflect the committed changes.