Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1423505

Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver() use

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver() use
Date 2016-06-16 00:00 +0200
Message-ID <rKr0R-80K-5@gated-at.bofh.it> (permalink)
References <rKq4N-7mg-7@gated-at.bofh.it> <rKqoa-7Kt-15@gated-at.bofh.it> <rKqRc-7Wk-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 15, 2016 at 05:43:42PM -0400, Tony Battersby wrote:
> With that patch applied, modprobe amd64_edac_mod correctly reports "No
> such device" and everything is fine.

Good, thanks!

I'll add your Tested-by to the fix, if you don't mind.

> I also get a new line in dmesg on boot:
> 
> amd_nb: Cannot enumerate AMD northbridges

Yeah, comes from init_amd_nbs(). I guess I can remove that pr_notice()
as it is unnecessary noise on distro kernels which enable AMD_NB.

> You might want to consider using -ENODEV instead of -1 for callers such
> as init_amd_nbs() that use the error value.

Yeah, already changed to -ENODEV :-)

Thanks for reporting and testing!

-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver() use Tony Battersby <tonyb@cybernetics.com> - 2016-06-15 23:00 +0200
  Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver()  use Borislav Petkov <bp@alien8.de> - 2016-06-15 23:20 +0200
    Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver()  use Tony Battersby <tonyb@cybernetics.com> - 2016-06-15 23:50 +0200
      Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver()  use Tony Battersby <tonyb@cybernetics.com> - 2016-06-16 00:00 +0200
      Re: lk 4.7 regression: EDAC, amd64_edac: Drop pci_register_driver()  use Borislav Petkov <bp@alien8.de> - 2016-06-16 00:00 +0200

csiph-web