diff options
author | Jean Delvare <jdelvare@suse.de> | 2012-10-18 15:54:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-25 11:43:00 +0200 |
commit | 7e06b7a3333f5c7a0cec12aff20d39c5c87c0795 (patch) | |
tree | ec7a4dfacd5f658ee198be7187518481ef52a474 /drivers/edac/edac_pci.c | |
parent | edac: Fix the dimm filling for csrows-based layouts (diff) | |
download | linux-7e06b7a3333f5c7a0cec12aff20d39c5c87c0795.tar.xz linux-7e06b7a3333f5c7a0cec12aff20d39c5c87c0795.zip |
i7300_edac: Fix error flag testing
* Right-shift the values in GET_FBD_FAT_IDX and GET_FBD_NF_IDX, so
that the callers get the result they expect.
* Fix definition of FERR_FAT_FBD_ERR_MASK.
* Call GET_FBD_NF_IDX, not GET_FBD_FAT_IDX, when operating on
register FERR_NF_FBD. We were lucky they have the same definition.
This fixes kernel bug #44131:
https://bugzilla.kernel.org/show_bug.cgi?id=44131
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/edac/edac_pci.c')
0 files changed, 0 insertions, 0 deletions