ie31200_edac: Allocate mci and map mchbar first
authorJason Baron <jbaron@akamai.com>
Wed, 9 Jul 2014 21:13:07 +0000 (21:13 +0000)
committerBorislav Petkov <bp@suse.de>
Thu, 10 Jul 2014 08:55:12 +0000 (10:55 +0200)
commit78fd4d1242e88fbe5ea269087a47bd7e05bf84a1
tree8b2433163ac374ea191e74f784c36a994eb5fb87
parent7ee40b897d18ab03111eda9a6a0550e98166eada
ie31200_edac: Allocate mci and map mchbar first

Check for memory allocation and mchbar mapping failures before
initializing the dimm info tables needlessly.

Signed-off-by: Jason Baron <jbaron@akamai.com>
Suggested-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/ead8f53e699f1ce21c2e17f3cffb4685d4faf72a.1404939455.git.jbaron@akamai.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/ie31200_edac.c
This page took 0.024303 seconds and 5 git commands to generate.