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

rS FreeBSD src repository - subversion
Lint OK
No Unit Test Coverage
Build Status
Buildable 41497
Build 38386: arc lint + arc unit

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.