[ofa-general] Re: [PATCH] opensm/osm_ucast_lash.c: Eliminate possible seg fault in get_osm_switch_from_port

Sasha Khapyorsky sashak at voltaire.com
Tue Jul 14 10:22:56 PDT 2009


On 13:05 Tue 14 Jul     , Hal Rosenstock wrote:
> On Tue, Jul 14, 2009 at 12:16 PM, Sasha Khapyorsky<sashak at voltaire.com> wrote:
> > On 11:52 Tue 14 Jul ?? ?? , Hal Rosenstock wrote:
> >>
> >> How about a CL_ASSERT there ?
> >
> > Not much better than segfault :).
> 
> Not much better but still slightly better. If not, then what about all
> the other CL_ASSERTs in the code ?

I cannot change the history :) , but seriously it probably was helpful
for somebody during a debug period.

Sasha



More information about the general mailing list