]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
RDMA/amso1100: Add check for NULL reply_msg in c2_intr()
authorTom Tucker <tom@opengridcomputing.com>
Thu, 17 Apr 2008 04:09:34 +0000 (21:09 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 17 Apr 2008 04:09:34 +0000 (21:09 -0700)
commit9285faa1e7c8ffcc8901c40f6e1cc06d93e92431
tree094647e312edba67f6f5b555020ecb6fd7f34f67
parentbbf8eed1a0f8949f7385146624f736f829992a70
RDMA/amso1100: Add check for NULL reply_msg in c2_intr()

Fix a place where we might dereference a NULL pointer; this fixes
Coverity CID 1392.  On inspection I also found a place where we could
attempt to kmem_cache_free() a NULL pointer, so fix this too.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2_cq.c
drivers/infiniband/hw/amso1100/c2_intr.c