Merge tag 'edac_for_4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Sep 2015 01:34:22 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Sep 2015 01:34:22 +0000 (18:34 -0700)
Pull EDAC fixes from Borislav Petkov:
 "Two minor fixlets this time: AMD MCE decoding correction and
  xgene_edac cleanup"

* tag 'edac_for_4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  EDAC, mce_amd: Don't emit 'CE' for Deferred error
  EDAC, xgene: Drop owner assignment from platform_driver

drivers/edac/mce_amd.c
drivers/edac/xgene_edac.c

index 58586d5..e3a945c 100644 (file)
@@ -763,7 +763,8 @@ int amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data)
                c->x86, c->x86_model, c->x86_mask,
                m->bank,
                ((m->status & MCI_STATUS_OVER)  ? "Over"  : "-"),
-               ((m->status & MCI_STATUS_UC)    ? "UE"    : "CE"),
+               ((m->status & MCI_STATUS_UC)    ? "UE"    :
+                (m->status & MCI_STATUS_DEFERRED) ? "-"  : "CE"),
                ((m->status & MCI_STATUS_MISCV) ? "MiscV" : "-"),
                ((m->status & MCI_STATUS_PCC)   ? "PCC"   : "-"),
                ((m->status & MCI_STATUS_ADDRV) ? "AddrV" : "-"));
index 14636e4..ba06904 100644 (file)
@@ -1168,7 +1168,6 @@ static struct platform_driver xgene_edac_driver = {
        .remove = xgene_edac_remove,
        .driver = {
                .name = "xgene-edac",
-               .owner = THIS_MODULE,
                .of_match_table = xgene_edac_of_match,
        },
 };