public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Khapyorsky <sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org>
To: Line.Holen-UdXhSnd/wVw@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports
Date: Tue, 20 Oct 2009 16:37:52 +0200	[thread overview]
Message-ID: <20091020143752.GW20210@me> (raw)
In-Reply-To: <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>

On 15:40 Fri 16 Oct     , Line.Holen-UdXhSnd/wVw@public.gmane.org wrote:
> ca_ports is not reset before startup of ftree routing
> 
> Signed-off-by: Line Holen <Line.Holen-UdXhSnd/wVw@public.gmane.org>

The patch is broken - mangled whitespaces.

Applied by hands. Thanks.

Sasha

> 
> ---
> 
> diff --git a/opensm/opensm/osm_ucast_ftree.c b/opensm/opensm/osm_ucast_ftree.c
> index 885c834..5b403f7 100644
> --- a/opensm/opensm/osm_ucast_ftree.c
> +++ b/opensm/opensm/osm_ucast_ftree.c
> @@ -1002,6 +1002,7 @@ static void fabric_clear(ftree_fabric_t * p_ftree)
> 
>         p_ftree->leaf_switches_num = 0;
>         p_ftree->cn_num = 0;
> +       p_ftree->ca_ports = 0;
>         p_ftree->leaf_switch_rank = 0;
>         p_ftree->max_switch_rank = 0;
>         p_ftree->max_cn_per_leaf = 0;
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2009-10-20 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16 13:40 [PATCHv2] osm_ucast_ftree.c missing reset of ca_ports Line.Holen-UdXhSnd/wVw
     [not found] ` <4AD877D4.1070706-UdXhSnd/wVw@public.gmane.org>
2009-10-20 14:37   ` Sasha Khapyorsky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091020143752.GW20210@me \
    --to=sashak-smomgflxvozwk0htik3j/w@public.gmane.org \
    --cc=Line.Holen-UdXhSnd/wVw@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox