i5000: Fix the fatal error handling
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 25 Apr 2012 14:47:36 +0000 (11:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 28 May 2012 22:13:54 +0000 (19:13 -0300)
commit486dfb1638bc49e9f3bbbefbe4832024ba6abe0d
treec78481a48f1ae6670c9d6377cdc9ed0b916b65cc
parent9f70d08a4c4581eee802563b709f710ad492d966
i5000: Fix the fatal error handling

The fatal error channel bits point to a single channel, and not
to a range of channels. Fix the code to properly report it,
instead of printing messages like:
kernel: EDAC MC0: INTERNAL ERROR: channel-b out of range (4 >= 4)

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i5000_edac.c