From: NeilBrown Date: Mon, 25 Nov 2013 00:12:43 +0000 (+1100) Subject: md/raid5: fix new memory-reference bug in alloc_thread_groups. X-Git-Tag: v3.13-rc2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c775d5208284700de423e6746259da54a42e1f5;p=pandora-kernel.git md/raid5: fix new memory-reference bug in alloc_thread_groups. In alloc_thread_groups, worker_groups is a pointer to an array, not an array of pointers. So worker_groups[i] is wrong. It should be &(*worker_groups)[i] Found-by: coverity Fixes: 60aaf9338545 Reported-by: Ben Hutchings Cc: majianpeng Signed-off-by: NeilBrown --- Reading git-diff-tree failed