summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-11-25 01:12:43 +0100
committerNeilBrown <neilb@suse.de>2013-11-28 01:00:04 +0100
commit0c775d5208284700de423e6746259da54a42e1f5 (patch)
treef32462cf475fb8a9a4fbe395c7016086159e1a43 /drivers/md/md.c
parentLinux 3.13-rc1 (diff)
downloadlinux-0c775d5208284700de423e6746259da54a42e1f5.tar.xz
linux-0c775d5208284700de423e6746259da54a42e1f5.zip
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 <bhutchings@solarflare.com> Cc: majianpeng <majianpeng@gmail.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions