diff options
author | Toshi Kani <toshi.kani@hpe.com> | 2017-08-24 01:54:47 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-09-25 14:09:39 +0300 |
commit | 301375e764324b8048704eaf2c46fe1ee290830e (patch) | |
tree | 759368a567d9a07a844865e85bdbcc6ffe261f66 /virt | |
parent | 3877c7d1e24c05eeb1c57ade04d2527d511f25a1 (diff) | |
download | linux-301375e764324b8048704eaf2c46fe1ee290830e.tar.xz |
EDAC: Add owner check to the x86 platform drivers
Change x86 EDAC platform drivers to verify the module owner at the
beginning of their module init functions. This allows them to fail their
init immediately when ghes_edac is enabled. Similar change can be made
to other edac drivers if necessary.
Also, remove ".c" from module names of pnp2_edac, sb_edac, and skx_edac.
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Suggested-by: Borislav Petkov <bp@alien8.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170823225447.15608-6-toshi.kani@hpe.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions