amd64_edac: fix a wrong goto clause in amd64_edac.c
authorLi Hong <lihong.hi@gmail.com>
Mon, 19 Oct 2009 08:33:29 +0000 (16:33 +0800)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 4 Nov 2009 13:02:32 +0000 (14:02 +0100)
commita3c4c58085b23d8e878a58dcdd0f8fcf8fad1ccd
tree4d90cbfce9f7e869270127f75a4232c1fc69db9c
parentb419148e567728f6af0c3b01965c1cc141e3e13a
amd64_edac: fix a wrong goto clause in amd64_edac.c

In amd64_edac_init(void) in amd64_edac.c, cache_k8_northbridges() is
called before pci_register_driver. If it fails, should exit with err
directly.

Signed-off-by: Li Hong <lihong.hi@gmail.com>
Acked-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c