Commit 78f20653 authored by Lee Jones's avatar Lee Jones Committed by Jason Gunthorpe

RDMA/core/counters: Demote non-conformant kernel-doc headers

Fixes the following W=1 kernel build warning(s):

 drivers/infiniband/core/counters.c:36: warning: Function parameter or member 'dev' not described in 'rdma_counter_set_auto_mode'
 drivers/infiniband/core/counters.c:36: warning: Function parameter or member 'port' not described in 'rdma_counter_set_auto_mode'
 drivers/infiniband/core/counters.c:36: warning: Function parameter or member 'on' not described in 'rdma_counter_set_auto_mode'
 drivers/infiniband/core/counters.c:36: warning: Function parameter or member 'mask' not described in 'rdma_counter_set_auto_mode'
 drivers/infiniband/core/counters.c:238: warning: Function parameter or member 'qp' not described in 'rdma_get_counter_auto_mode'
 drivers/infiniband/core/counters.c:238: warning: Function parameter or member 'port' not described in 'rdma_get_counter_auto_mode'
 drivers/infiniband/core/counters.c:282: warning: Function parameter or member 'qp' not described in 'rdma_counter_bind_qp_auto'
 drivers/infiniband/core/counters.c:282: warning: Function parameter or member 'port' not described in 'rdma_counter_bind_qp_auto'
 drivers/infiniband/core/counters.c:320: warning: Function parameter or member 'qp' not described in 'rdma_counter_unbind_qp'
 drivers/infiniband/core/counters.c:388: warning: Function parameter or member 'dev' not described in 'rdma_counter_get_hwstat_value'
 drivers/infiniband/core/counters.c:388: warning: Function parameter or member 'port' not described in 'rdma_counter_get_hwstat_value'
 drivers/infiniband/core/counters.c:388: warning: Function parameter or member 'index' not described in 'rdma_counter_get_hwstat_value'
 drivers/infiniband/core/counters.c:444: warning: Function parameter or member 'dev' not described in 'rdma_counter_bind_qpn'
 drivers/infiniband/core/counters.c:444: warning: Function parameter or member 'port' not described in 'rdma_counter_bind_qpn'
 drivers/infiniband/core/counters.c:444: warning: Function parameter or member 'qp_num' not described in 'rdma_counter_bind_qpn'
 drivers/infiniband/core/counters.c:444: warning: Function parameter or member 'counter_id' not described in 'rdma_counter_bind_qpn'
 drivers/infiniband/core/counters.c:494: warning: Function parameter or member 'dev' not described in 'rdma_counter_bind_qpn_alloc'
 drivers/infiniband/core/counters.c:494: warning: Function parameter or member 'port' not described in 'rdma_counter_bind_qpn_alloc'
 drivers/infiniband/core/counters.c:494: warning: Function parameter or member 'qp_num' not described in 'rdma_counter_bind_qpn_alloc'
 drivers/infiniband/core/counters.c:494: warning: Function parameter or member 'counter_id' not described in 'rdma_counter_bind_qpn_alloc'
 drivers/infiniband/core/counters.c:541: warning: Function parameter or member 'dev' not described in 'rdma_counter_unbind_qpn'
 drivers/infiniband/core/counters.c:541: warning: Function parameter or member 'port' not described in 'rdma_counter_unbind_qpn'
 drivers/infiniband/core/counters.c:541: warning: Function parameter or member 'qp_num' not described in 'rdma_counter_unbind_qpn'
 drivers/infiniband/core/counters.c:541: warning: Function parameter or member 'counter_id' not described in 'rdma_counter_unbind_qpn'

Link: https://lore.kernel.org/r/20210118223929.512175-19-lee.jones@linaro.org
Cc: Doug Ledford <dledford@redhat.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
parent 1896e524
...@@ -24,7 +24,7 @@ static int __counter_set_mode(struct rdma_port_counter *port_counter, ...@@ -24,7 +24,7 @@ static int __counter_set_mode(struct rdma_port_counter *port_counter,
return 0; return 0;
} }
/** /*
* rdma_counter_set_auto_mode() - Turn on/off per-port auto mode * rdma_counter_set_auto_mode() - Turn on/off per-port auto mode
* *
* @dev: Device to operate * @dev: Device to operate
...@@ -231,7 +231,7 @@ static void counter_history_stat_update(struct rdma_counter *counter) ...@@ -231,7 +231,7 @@ static void counter_history_stat_update(struct rdma_counter *counter)
port_counter->hstats->value[i] += counter->stats->value[i]; port_counter->hstats->value[i] += counter->stats->value[i];
} }
/** /*
* rdma_get_counter_auto_mode - Find the counter that @qp should be bound * rdma_get_counter_auto_mode - Find the counter that @qp should be bound
* with in auto mode * with in auto mode
* *
...@@ -278,7 +278,7 @@ static void counter_release(struct kref *kref) ...@@ -278,7 +278,7 @@ static void counter_release(struct kref *kref)
rdma_counter_free(counter); rdma_counter_free(counter);
} }
/** /*
* rdma_counter_bind_qp_auto - Check and bind the QP to a counter base on * rdma_counter_bind_qp_auto - Check and bind the QP to a counter base on
* the auto-mode rule * the auto-mode rule
*/ */
...@@ -315,7 +315,7 @@ int rdma_counter_bind_qp_auto(struct ib_qp *qp, u8 port) ...@@ -315,7 +315,7 @@ int rdma_counter_bind_qp_auto(struct ib_qp *qp, u8 port)
return 0; return 0;
} }
/** /*
* rdma_counter_unbind_qp - Unbind a qp from a counter * rdma_counter_unbind_qp - Unbind a qp from a counter
* @force: * @force:
* true - Decrease the counter ref-count anyway (e.g., qp destroy) * true - Decrease the counter ref-count anyway (e.g., qp destroy)
...@@ -384,7 +384,7 @@ static u64 get_running_counters_hwstat_sum(struct ib_device *dev, ...@@ -384,7 +384,7 @@ static u64 get_running_counters_hwstat_sum(struct ib_device *dev,
return sum; return sum;
} }
/** /*
* rdma_counter_get_hwstat_value() - Get the sum value of all counters on a * rdma_counter_get_hwstat_value() - Get the sum value of all counters on a
* specific port, including the running ones and history data * specific port, including the running ones and history data
*/ */
...@@ -440,7 +440,7 @@ static struct rdma_counter *rdma_get_counter_by_id(struct ib_device *dev, ...@@ -440,7 +440,7 @@ static struct rdma_counter *rdma_get_counter_by_id(struct ib_device *dev,
return counter; return counter;
} }
/** /*
* rdma_counter_bind_qpn() - Bind QP @qp_num to counter @counter_id * rdma_counter_bind_qpn() - Bind QP @qp_num to counter @counter_id
*/ */
int rdma_counter_bind_qpn(struct ib_device *dev, u8 port, int rdma_counter_bind_qpn(struct ib_device *dev, u8 port,
...@@ -489,7 +489,7 @@ int rdma_counter_bind_qpn(struct ib_device *dev, u8 port, ...@@ -489,7 +489,7 @@ int rdma_counter_bind_qpn(struct ib_device *dev, u8 port,
return ret; return ret;
} }
/** /*
* rdma_counter_bind_qpn_alloc() - Alloc a counter and bind QP @qp_num to it * rdma_counter_bind_qpn_alloc() - Alloc a counter and bind QP @qp_num to it
* The id of new counter is returned in @counter_id * The id of new counter is returned in @counter_id
*/ */
...@@ -537,7 +537,7 @@ int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u8 port, ...@@ -537,7 +537,7 @@ int rdma_counter_bind_qpn_alloc(struct ib_device *dev, u8 port,
return ret; return ret;
} }
/** /*
* rdma_counter_unbind_qpn() - Unbind QP @qp_num from a counter * rdma_counter_unbind_qpn() - Unbind QP @qp_num from a counter
*/ */
int rdma_counter_unbind_qpn(struct ib_device *dev, u8 port, int rdma_counter_unbind_qpn(struct ib_device *dev, u8 port,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment