> We hit a bug in the RHEL4 kernel which was fixed in your latest tree.  The 
 > bug
 > was in mthca_alloc_memfree.  When comparing your code to the current RH 
 > kernel,
 > we wondered why you would not return the error code from mthca_alloc_db 
 > rather
 > than -ENOMEM as demonstrated in the patch below?

Does Red Hat know about the bug so they can fix it in an update?

Anyway, I don't think the return value matters much -- I think when I
wrote the code, I just figured that the allocation failed so it makes
sense to return ENOMEM rather than whatever internal reason caused the
allocation to fail.  Does it make any practical difference one way or
another?

 - R.
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to