The patch titled edac: AMD8131 driver source file v2 has been added to the -mm tree. Its filename is edac-amd8131-driver-source-file-v2.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: edac: AMD8131 driver source file v2 From: Harry Ciao <qingtao.cao@xxxxxxxxxxxxx> Introduce AMD8131 EDAC driver source file, which makes use of error detections on the PCI-X Bridge Controllers on the AMD8131 HyperTransport PCI-X Tunnel. Signed-off-by: Harry Ciao <qingtao.cao@xxxxxxxxxxxxx> Cc: Doug Thompson <norsk5@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/edac/amd8131_edac.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -puN drivers/edac/amd8131_edac.c~edac-amd8131-driver-source-file-v2 drivers/edac/amd8131_edac.c --- a/drivers/edac/amd8131_edac.c~edac-amd8131-driver-source-file-v2 +++ a/drivers/edac/amd8131_edac.c @@ -42,7 +42,7 @@ static void edac_pci_read_dword(struct p int ret; ret = pci_read_config_dword(dev, reg, val32); - if (ret > 0) + if (ret != 0) printk(KERN_ERR AMD8131_EDAC_MOD_STR " PCI Access Read Error at 0x%x\n", reg); } @@ -52,7 +52,7 @@ static void edac_pci_write_dword(struct int ret; ret = pci_write_config_dword(dev, reg, val32); - if (ret > 0) + if (ret != 0) printk(KERN_ERR AMD8131_EDAC_MOD_STR " PCI Access Write Error at 0x%x\n", reg); } @@ -357,6 +357,9 @@ static struct pci_driver amd8131_edac_dr static int __init amd8131_edac_init(void) { + printk(KERN_INFO "AMD8131 EDAC driver " AMD8131_EDAC_REVISION "\n"); + printk(KERN_INFO "\t(c) 2008 Wind River Systems, Inc.\n"); + /* Only POLL mode supported so far */ edac_op_state = EDAC_OPSTATE_POLL; _ Patches currently in -mm which might be from qingtao.cao@xxxxxxxxxxxxx are edac-amd8111-driver-header-file.patch edac-amd8111-driver-source-file.patch edac-amd8111-driver-source-file-v2.patch edac-add-edac_pci_alloc_index.patch pci-add-amd8111-pci-bridge-pci-device-id.patch edac-amd8131-driver-header-file.patch edac-amd8131-driver-source-file.patch edac-amd8131-driver-source-file-v2.patch edac-amd8131-driver-kconfig-makefile.patch edac-amd8111-driver-kconfig-makefile.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html