Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e2c0bffe authored by Daniel J Blueman's avatar Daniel J Blueman Committed by Borislav Petkov
Browse files

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: default avatarDaniel J Blueman <daniel@numascale-asia.com>
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: default avatarBorislav Petkov <bp@alien8.de>
parent 8b84c8df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment