[PATCH][18/18] InfiniBand/core: rename handle_outgoing_smp

From: Roland Dreier
Date: Wed Jan 12 2005 - 20:18:47 EST


Change routine name from handle_outgoing_smp to handle_outgoing_dr_smp.

Signed-off-by: Hal Rosenstock <halr@xxxxxxxxxxxx>
Signed-off-by: Roland Dreier <roland@xxxxxxxxxxx>

--- linux/drivers/infiniband/core/mad.c (revision 1449)
+++ linux/drivers/infiniband/core/mad.c (revision 1450)
@@ -619,9 +619,9 @@
* Return 1 if SMP was consumed locally (whether or not solicited)
* Return < 0 if error
*/
-static int handle_outgoing_smp(struct ib_mad_agent_private *mad_agent_priv,
- struct ib_smp *smp,
- struct ib_send_wr *send_wr)
+static int handle_outgoing_dr_smp(struct ib_mad_agent_private *mad_agent_priv,
+ struct ib_smp *smp,
+ struct ib_send_wr *send_wr)
{
int ret, alloc_flags;
unsigned long flags;
@@ -797,7 +797,8 @@

smp = (struct ib_smp *)send_wr->wr.ud.mad_hdr;
if (smp->mgmt_class == IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE) {
- ret = handle_outgoing_smp(mad_agent_priv, smp, send_wr);
+ ret = handle_outgoing_dr_smp(mad_agent_priv, smp,
+ send_wr);
if (ret < 0) /* error */
goto error2;
else if (ret == 1) /* locally consumed */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/