Skip to content

Commit

Permalink
[IB] ucm: quiet sparse warnings
Browse files Browse the repository at this point in the history
Make ctx_id_mutex and ctx_id_table static to quiet sparse warnings.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Roland Dreier committed Oct 17, 2005
1 parent 07d357d commit 762a03e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/infiniband/core/ucm.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ static struct ib_client ucm_client = {
.remove = ib_ucm_remove_one
};

DECLARE_MUTEX(ctx_id_mutex);
DEFINE_IDR(ctx_id_table);
static DECLARE_MUTEX(ctx_id_mutex);
static DEFINE_IDR(ctx_id_table);
static DECLARE_BITMAP(dev_map, IB_UCM_MAX_DEVICES);

static struct ib_ucm_context *ib_ucm_ctx_get(struct ib_ucm_file *file, int id)
Expand Down

0 comments on commit 762a03e

Please sign in to comment.