kernel_optimize_test/include/rdma
Bart Van Assche db7489e076 IB/core, cma: Make __attribute_const__ declarations sparse-friendly
Move the __attribute_const__ declarations such that sparse understands
that these apply to the function itself and not to the return type.
This avoids that sparse reports error messages like the following:

drivers/infiniband/core/verbs.c:73:12: error: symbol 'ib_event_msg' redeclared with different type (originally declared at include/rdma/ib_verbs.h:470) - different modifiers

Fixes: 2b1b5b6012 ("IB/core, cma: Nice log-friendly string helpers")
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-10-30 17:57:49 -04:00
..
ib_addr.h IB/addr: Pass network namespace as a parameter 2015-10-28 12:32:47 -04:00
ib_cache.h IB/cache: Add ib_find_gid_by_filter cache API 2015-10-21 23:48:17 -04:00
ib_cm.h
ib_fmr_pool.h
ib_mad.h
ib_marshall.h
ib_pack.h ib_pack.h: Fix commentary IBA reference for CNP in IB opcode enum 2015-10-21 16:41:54 -04:00
ib_pma.h
ib_sa.h IB/core: Remove smac and vlan id from path record 2015-10-21 23:48:18 -04:00
ib_smi.h
ib_umem_odp.h
ib_umem.h
ib_verbs.h IB/core, cma: Make __attribute_const__ declarations sparse-friendly 2015-10-30 17:57:49 -04:00
ib.h
iw_cm.h
iw_portmap.h
opa_port_info.h
opa_smi.h
rdma_cm_ib.h
rdma_cm.h IB/core, cma: Make __attribute_const__ declarations sparse-friendly 2015-10-30 17:57:49 -04:00
rdma_netlink.h