android_kernel_google_msm/drivers/edac
Jean Delvare 43477d60e7 i7300_edac: Fix error flag testing
commit 7e06b7a333 upstream.

* 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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-12-10 10:59:40 -08:00
..
amd64_edac.c amd64_edac:__amd64_set_scrub_rate(): avoid overindexing scrubrates[] 2012-10-28 10:14:15 -07:00
amd64_edac.h
amd64_edac_dbg.c
amd64_edac_inj.c
amd76x_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
amd8111_edac.c
amd8111_edac.h
amd8131_edac.c
amd8131_edac.h
cell_edac.c
cpc925_edac.c
e7xxx_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
e752x_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
edac_core.h
edac_device.c
edac_device_sysfs.c
edac_mc.c Merge branch 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac 2012-03-28 14:24:40 -07:00
edac_mc_sysfs.c EDAC: Correct scrub rate API 2012-03-19 12:03:58 +01:00
edac_module.c
edac_module.h
edac_pci.c
edac_pci_sysfs.c
edac_stub.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
i7core_edac.c edac: avoid mce decoding crash after edac driver unloaded 2012-06-22 11:37:15 -07:00
i3000_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i3200_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i5000_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i5100_edac.c Merge branch 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac 2012-03-28 14:24:40 -07:00
i5400_edac.c Merge branch 'linux_next' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac 2012-03-28 14:24:40 -07:00
i7300_edac.c i7300_edac: Fix error flag testing 2012-12-10 10:59:40 -08:00
i82443bxgx_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i82860_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i82875p_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
i82975x_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
Kconfig edac: sb_edac: Let the driver depend on PCI_MMCONFIG 2012-03-21 15:19:56 -03:00
Makefile
mce_amd.c MCE, AMD: Drop too granulary family model checks 2012-04-04 15:50:11 +02:00
mce_amd.h MCE, AMD: Constify error tables 2012-03-19 12:06:26 +01:00
mce_amd_inj.c device.h: cleanup users outside of linux/include (C files) 2012-03-11 14:27:37 -04:00
mpc85xx_edac.c
mpc85xx_edac.h
mv64x60_edac.c
mv64x60_edac.h
pasemi_edac.c
ppc4xx_edac.c edac/ppc4xx_edac: Fix compilation 2012-03-21 15:19:44 -03:00
ppc4xx_edac.h
r82600_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00
sb_edac.c edac: fix the error about memory type detection on SandyBridge 2012-06-22 11:37:15 -07:00
tile_edac.c edac: say "TILEGx" not "TILEPro" for the tilegx edac driver 2012-04-02 12:14:06 -04:00
x38_edac.c EDAC: Make pci_device_id tables __devinitconst. 2012-03-19 12:04:54 +01:00