IB/mad: Add const qualifiers to query only functions
authorIra Weiny <ira.weiny@intel.com>
Fri, 8 May 2015 18:27:24 +0000 (14:27 -0400)
committerDoug Ledford <dledford@redhat.com>
Wed, 20 May 2015 16:34:45 +0000 (12:34 -0400)
commitf766c58fa3ea38a30912df8b5af3ca40637fe5e9
treea6e99f54369abb2a6ddd7a74ad21a4f4ef02142a
parent8bf4b30c24df184528261e252227debf611b4c11
IB/mad: Add const qualifiers to query only functions

The following functions only need read access to the data passed to them.

ib_mad_kernel_rmpp_agent
is_rmpp_data_mad
rcv_has_same_gid
ib_find_send_mad

Clarify with const specifiers

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h
include/rdma/ib_mad.h
This page took 0.027425 seconds and 5 git commands to generate.