From 9f6476426a5fcf1c3f82525faef529cb36c1e30b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 30 Sep 2010 06:11:04 +0000 Subject: [PATCH] Reduced stack usage of srp_recv_completion(). git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2314 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-with-srp-patches | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-kernel-with-srp-patches b/scripts/generate-kernel-with-srp-patches index a15a68f73..e0c6ff97a 100755 --- a/scripts/generate-kernel-with-srp-patches +++ b/scripts/generate-kernel-with-srp-patches @@ -1253,7 +1253,7 @@ index a2935e3..dda5203 100644 { struct srp_target_port *target = target_ptr; - struct ib_wc wc; -+ struct ib_wc wc[16]; ++ struct ib_wc wc[8]; + int i, n; ib_req_notify_cq(cq, IB_CQ_NEXT_COMP);