[openib-general] Re: [PATCH] process_mad extension

Roland Dreier roland at topspin.com
Mon Jan 10 08:42:27 PST 2005


    Michael> Ok, I addressed all of these except the "C++-style"
    Michael> comment which I dont understand. Roland - how are these
    Michael> parameters in my code different from the next line where
    Michael> I see struct mad* in_mad?  What is C++ about them?

Compare the spacing of 'ib_grh* ' with 'ib_mad *':

+						  struct ib_grh* in_grh,
 						  struct ib_mad *in_mad,

I call declarations like "type* name" C++-style since Stroustrap seems
to use it in his book.

In any case I'll fix this up by hand and apply.

Thanks,
  Roland



More information about the general mailing list