From: Daniel J Blueman Date: Fri, 30 Nov 2012 08:44:19 +0000 (+0800) Subject: amd64_edac: Fix PCI function lookup X-Git-Tag: v3.9-rc1~162^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c0bffea2574c088d86a9f1f661a84bc8fea2fd;p=pandora-kernel.git amd64_edac: Fix PCI function lookup Fix locating sibling memory controller PCI functions by using the correct PCI domain and use a northbridge descriptor only if found. We need to at least warn if it wasn't found so that it gets fixed and we don't go off with wrong results. Signed-off-by: Daniel J Blueman Link: http://lkml.kernel.org/r/1354265060-22956-1-git-send-email-daniel@numascale-asia.com [Boris: remove wrong comment, sanitize code and warn if NB desc lookup fails] Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed