diff options
author | Roland Dreier <roland@purestorage.com> | 2014-06-04 19:00:16 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-06-04 19:01:42 +0200 |
commit | 8385fd841468868e0b37a722530d75b0e8bfc5a8 (patch) | |
tree | 0bf3e68f1b5436545c21d09db28fee1971913cd4 /drivers/infiniband/hw/qib | |
parent | IB/mad: Fix sparse warning about gfp_t use (diff) | |
download | linux-8385fd841468868e0b37a722530d75b0e8bfc5a8.tar.xz linux-8385fd841468868e0b37a722530d75b0e8bfc5a8.zip |
IB/core: Fix sparse warnings about redeclared functions
Fix a few functions that are declared with __attribute_const__ in the
ib_verbs.h header file but defined without it in verbs.c. This gets rid
of the following sparse warnings:
drivers/infiniband/core/verbs.c:51:5: error: symbol 'ib_rate_to_mult' redeclared with different type (originally declared at include/rdma/ib_verbs.h:469) - different modifiers
drivers/infiniband/core/verbs.c:68:14: error: symbol 'mult_to_ib_rate' redeclared with different type (originally declared at include/rdma/ib_verbs.h:607) - different modifiers
drivers/infiniband/core/verbs.c:85:5: error: symbol 'ib_rate_to_mbps' redeclared with different type (originally declared at include/rdma/ib_verbs.h:476) - different modifiers
drivers/infiniband/core/verbs.c:111:1: error: symbol 'rdma_node_get_transport' redeclared with different type (originally declared at include/rdma/ib_verbs.h:84) - different modifiers
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions