[ofa-general] Re: [PATCH] osm/osm_sa_path_record: trivial cosmetic chage

Sasha Khapyorsky sashak at voltaire.com
Tue Sep 25 10:44:47 PDT 2007


On 00:23 Tue 25 Sep     , Yevgeny Kliteynik wrote:
> Trivial fix in osm_sa_path_record.c
> 
> Signed-off-by:  Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
> ---
>  opensm/opensm/osm_sa_path_record.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/opensm/opensm/osm_sa_path_record.c b/opensm/opensm/osm_sa_path_record.c
> index 3b183d9..ce75ec8 100644
> --- a/opensm/opensm/osm_sa_path_record.c
> +++ b/opensm/opensm/osm_sa_path_record.c
> @@ -723,7 +723,7 @@ __osm_pr_rcv_get_path_parms(IN osm_pr_rcv_t * const p_rcv,
>  	if (pkey) {
>  		p_prtn =
>  		    (osm_prtn_t *) cl_qmap_get(&p_rcv->p_subn->prtn_pkey_tbl,
> -					       pkey & cl_ntoh16((uint16_t) ~
> +					       pkey & cl_hton16((uint16_t) ~

Also guess the same fix is relevant for MPR, right?

Sasha



More information about the general mailing list