i7core_edac: Fix oops when trying to inject errors
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 17 Mar 2011 20:02:59 +0000 (17:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 31 Oct 2011 17:10:04 +0000 (15:10 -0200)
commit224e871f36e1f9edddb0dfecbb84ff9765af3eb4
treefe0442d61ecc371e72562e4d1f940a877edf2c33
parent80b8ce89ebb145d91fd2ef1a1e9610aee1613109
i7core_edac: Fix oops when trying to inject errors

Error injection needs the pci device 0:0. So, we need to revert
this changeset: 79daef2099a02fed35747c23bad22f30441133ea.

Tests need to be made to be sure that refcount won't be wrong
as noticed before.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c