From: Naresh Gottumukkala Date: Fri, 6 Sep 2013 09:32:47 +0000 (+0530) Subject: RDMA/ocrdma: Fix a crash in rmmod X-Git-Tag: v3.13-rc1~44^2^9~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1852d1da3b4723d7db0d490f54c07442b3e1c452;p=pandora-kernel.git RDMA/ocrdma: Fix a crash in rmmod 1) ocrdma_remove_free() is called from a call_rcu callback funtion context, which can be a bottom-half context. So the code in ocrdma_remove_free should not sleep. But ocrdma_cleanup_hw() can sleep, So move it ocrdma_remove() instead of ocrdma_remove_free. 2) Fix a couple of kbuild test robot warnings. Signed-off-by: Naresh Gottumukkala Signed-off-by: Roland Dreier --- Reading git-diff-tree failed