]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/core: Make rdma_counter.h compile stand alone
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 9 Jul 2019 12:44:47 +0000 (09:44 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 9 Jul 2019 12:44:47 +0000 (09:44 -0300)
commit390d57728d8e6f7283030cb20d3b5459771a32f1
treefe752ae1f3bc33af1ff983555e9ec6d622d9c8d0
parent7a54f78d9387b75d8e64bac18e84cd65f639121f
RDMA/core: Make rdma_counter.h compile stand alone

5.4-rc1 will have new compile time debugging to test that headers can be
compiled stand alone. Many rdma headers are already broken and excluded
from the mechanism, however to avoid compile failures during the merge
window fix enough so that the newly added header compiles clean.

Fixes: 413d3347503b ("RDMA/counter: Add set/clear per-port auto mode support")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Mark Zhang <markz@mellanox.com>
include/rdma/rdma_counter.h
include/rdma/restrack.h