linux/drivers/infiniband
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
..
core [IB] simplify mad_rmpp.c:alloc_response_msg() 2005-10-25 15:13:54 -07:00
hw/mthca [IB] mthca: correct modify QP attribute masks for UC 2005-10-25 10:57:32 -07:00
ulp/ipoib [IPoIB] Improve ipoib_timeout() output 2005-10-18 12:20:06 -07:00
Kconfig [PATCH] IB: clean up user access config options 2005-09-07 12:43:08 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00