Files
linux/drivers
Roland Dreier 7cc656efb5 [IB] simplify mad_rmpp.c:alloc_response_msg()
Change alloc_response_msg() in mad_rmpp.c to return the struct
it allocates directly (or an error code a la ERR_PTR), rather than
returning a status and passing the struct back in a pointer param.
This simplifies the code and gets rid of warnings like

    drivers/infiniband/core/mad_rmpp.c: In function nack_recv:
    drivers/infiniband/core/mad_rmpp.c:192: warning: msg may be used uninitialized in this function

with newer versions of gcc.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2005-10-25 15:13:54 -07:00
..
2005-09-20 21:01:13 +01:00
2005-10-21 12:18:09 -07:00
2005-07-30 09:47:53 -05:00
2005-09-22 22:17:34 -07:00
2005-10-10 08:40:47 -07:00
2005-10-17 17:03:57 -07:00
2005-10-19 23:04:30 -07:00
2005-10-19 23:04:30 -07:00
2005-10-14 17:10:12 -07:00
2005-09-08 01:45:47 -04:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00