summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2016-11-14 13:26:11 +0100
committerBorislav Petkov <bp@suse.de>2016-11-14 13:26:11 +0100
commitc73e8833bec5a8ed4f55db0ca964cc1e998656df (patch)
treeb69476c5ed7827c7e545c75bc189a296eabb60f9 /drivers/spi
parent90e493d7d51c791a2adc2de962cbd5000f1b7460 (diff)
downloadlinux-c73e8833bec5a8ed4f55db0ca964cc1e998656df.tar.bz2
EDAC, mc: Fix locking around mc_devices list
When accessing the mc_devices list of memory controller descriptors, we need to hold mem_ctls_mutex. This was not always the case, fix that. Make all external callers call a version which grabs the mutex since the last is local to edac_mc.c. Reported-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions