sb_edac: remove bogus assumption on mc ordering
authorAristeu Rozanski <aris@redhat.com>
Mon, 2 Jun 2014 18:15:29 +0000 (15:15 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 26 Jun 2014 18:46:51 +0000 (15:46 -0300)
commitadc61bcd91aa8364efaa496e7a4699950c362c21
tree6732353201fac40ccfc0b019ecbc61844774af1a
parentd7c660b7dcb2f3c3835432cf733fba03507f4387
sb_edac: remove bogus assumption on mc ordering

When a MC is handled, the correct sbridge_dev is searched based on the node,
checking again later with the assumption the first memory controller found is
the first socket's memory controller is a bogus assumption. Get rid of it.

Cc: Tony Luck <tony.luck@intel.com>
Signed-off-by: Aristeu Rozanski <aris@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/edac/sb_edac.c