[ofa-general] Re: [PATCH 2/10] infiniband-diags: Convert ibaddr to "new" ibmad interface

Sasha Khapyorsky sashak at voltaire.com
Fri Mar 6 11:59:15 PST 2009


On 10:04 Fri 06 Mar     , Ira Weiny wrote:
> 
> Actually I think I was right the first time.  IBERROR is a macro which calls
> iberror.  iberror calls exit(-1) at the end.
> 
> ibdiag_common.h:
>    #define IBERROR(fmt, ...) iberror(__FUNCTION__, fmt, ## __VA_ARGS__)
> 
> ibdiag_common.c:
>    void iberror(const char *fn, char *msg, ...)
>    {
>    ...
>    	exit(-1);
>    }
> 
> Is this not correct?

Yes. Seems I missed IBERROR() with IBWARN().

Sasha



More information about the general mailing list