[ofa-general] Re: PATCH 1/1 - fix kernel crash in mad.c whenIB_MAD_RESULT_(SUCCESS|CONSUMED) returned

Sean Hefty sean.hefty at intel.com
Tue May 20 15:31:46 PDT 2008


>I also agree but I remember at one point we got pushback from
>one of the mainline kernel developers who really wanted to see
>only one return point in the code even if it meant more gotos.
>I don't remember who though.

I think the coding style document calls out using a single return point, but I
don't think that's always the cleanest approach either.




More information about the general mailing list