diff options
author | Sean Hefty <sean.hefty@intel.com> | 2011-12-06 21:13:10 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-01-04 17:17:45 (GMT) |
commit | c89d1bedf8b130d5b20f56a484989a19a2c2842a (patch) | |
tree | ac1e78a8213553335639f21eb8bac4da534c13f2 /drivers/infiniband/core/uverbs_cmd.c | |
parent | 46ea5061c750fc6b088b9566234287115fb70f98 (diff) | |
download | linux-fsl-qoriq-c89d1bedf8b130d5b20f56a484989a19a2c2842a.tar.xz |
rdma/core: Fix sparse warnings
Clean up sparse warnings in the rdma core layer.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/core/uverbs_cmd.c')
-rw-r--r-- | drivers/infiniband/core/uverbs_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/infiniband/core/uverbs_cmd.c b/drivers/infiniband/core/uverbs_cmd.c index 254f164..e26193f 100644 --- a/drivers/infiniband/core/uverbs_cmd.c +++ b/drivers/infiniband/core/uverbs_cmd.c @@ -2446,9 +2446,9 @@ out_put: return ret ? ret : in_len; } -int __uverbs_create_xsrq(struct ib_uverbs_file *file, - struct ib_uverbs_create_xsrq *cmd, - struct ib_udata *udata) +static int __uverbs_create_xsrq(struct ib_uverbs_file *file, + struct ib_uverbs_create_xsrq *cmd, + struct ib_udata *udata) { struct ib_uverbs_create_srq_resp resp; struct ib_usrq_object *obj; |