EDAC: Add routine to check if MC devices list is empty
authorYazen Ghannam <Yazen.Ghannam@amd.com>
Fri, 27 Jan 2017 17:24:21 +0000 (11:24 -0600)
committerBorislav Petkov <bp@suse.de>
Sat, 28 Jan 2017 13:36:47 +0000 (14:36 +0100)
commitd7fc9d77acb8651e5fcb77df71dfd11fcf1f08ba
tree8b425f989437a0ff7e535dfb46b889441fbb1cba
parentdf64636fa4816b6d562835475d9846dcfbfd8c7e
EDAC: Add routine to check if MC devices list is empty

We need to know if any MC devices have been allocated.

Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1485537863-2707-7-git-send-email-Yazen.Ghannam@amd.com
[ Prettify text. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc.c
drivers/edac/edac_mc.h