[ofa-general] Re: [PATCH] core/mthca: Distinguish multiple IB cards in /proc/interrupts

Arputham Benjamin abenjamin at sgi.com
Mon May 18 16:44:25 PDT 2009


Roland Dreier wrote:
> why is the address you want at the position IB_DEVICE_NAME_MAX instead
> of at index 0?  
It should be 0. Thanks for pointing that out.
>  In general I don't like since strcpy()/strcat() instead of
> strlcpy()/strlcat().
>
>
>  - R.
>   
I'll modify the code to use snprintf().

Thank you for your help.

Regards,
Benjamin



More information about the general mailing list