[ofa-general] Re: [PATCH][TRIVIAL] opensm/osm_inform.c: Eliminate compile warning

Sasha Khapyorsky sashak at voltaire.com
Tue Dec 16 11:10:48 PST 2008


On 10:44 Tue 16 Dec     , Hal Rosenstock wrote:
> Sasha,
> 
> Attached patch eliminates newly introduced compile warning in
> osm_inform.c.
> 
> -- Hal

> opensm/osm_inform.c: Eliminate compile warning
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock at gmail.com>

And then

#include <opensm/osm_event_plugin.h>

is not needed.

Applied. Thanks.

> 
> diff --git a/opensm/opensm/osm_inform.c b/opensm/opensm/osm_inform.c
> index b203435..186f620 100644
> --- a/opensm/opensm/osm_inform.c
> +++ b/opensm/opensm/osm_inform.c
> @@ -52,6 +52,7 @@
>  #include <opensm/osm_pkey.h>
>  #include <opensm/osm_sa.h>
>  #include <opensm/osm_event_plugin.h>
> +#include <opensm/osm_opensm.h>
>  
>  typedef struct osm_infr_match_ctxt {
>  	cl_list_t *p_remove_infr_list;




More information about the general mailing list