Page MenuHomeFreeBSD

infiniband: Disable -Wredundant-decl warnings.
ClosedPublic

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

Details

Summary

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

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
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.