[ofa-general] Re: [PATCH] opensm/ucast_cache: rename struct _osm_ucast_cache to osm_ucast_cache

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Thu Oct 9 18:08:49 PDT 2008


Hi Sasha,

Sasha Khapyorsky wrote:
> To be consistent with other names rename struct _osm_ucast_cache to
> osm_ucast_cache.

Sure, looks fine. Thanks.

-- Yevgeny

> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
> ---
>  opensm/include/opensm/osm_ucast_cache.h |    2 +-
>  opensm/include/opensm/osm_ucast_mgr.h   |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/opensm/include/opensm/osm_ucast_cache.h b/opensm/include/opensm/osm_ucast_cache.h
> index 7f01876..caffc83 100644
> --- a/opensm/include/opensm/osm_ucast_cache.h
> +++ b/opensm/include/opensm/osm_ucast_cache.h
> @@ -90,7 +90,7 @@ struct osm_ucast_mgr;
>  *
>  * SYNOPSIS
>  */
> -typedef struct _osm_ucast_cache {
> +typedef struct osm_ucast_cache {
>  	cl_qmap_t sw_tbl;
>  	boolean_t valid;
>  	struct osm_ucast_mgr * p_ucast_mgr;
> diff --git a/opensm/include/opensm/osm_ucast_mgr.h b/opensm/include/opensm/osm_ucast_mgr.h
> index e4006bb..5575d20 100644
> --- a/opensm/include/opensm/osm_ucast_mgr.h
> +++ b/opensm/include/opensm/osm_ucast_mgr.h
> @@ -78,7 +78,7 @@ BEGIN_C_DECLS
>  *
>  *********/
>  struct osm_sm;
> -struct _osm_ucast_cache;
> +struct osm_ucast_cache;
>  /****s* OpenSM: Unicast Manager/osm_ucast_mgr_t
>  * NAME
>  *	osm_ucast_mgr_t
> @@ -99,7 +99,7 @@ typedef struct osm_ucast_mgr {
>  	cl_qlist_t port_order_list;
>  	boolean_t is_dor;
>  	boolean_t some_hop_count_set;
> -	struct _osm_ucast_cache *p_cache;
> +	struct osm_ucast_cache *p_cache;
>  } osm_ucast_mgr_t;
>  /*
>  * FIELDS




More information about the general mailing list