mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
EDAC, amd64_edac: Issue driver banner only on success
... and don't mislead users into thinking that the driver has loaded successfully. Signed-off-by: Borislav Petkov <[email protected]>
This commit is contained in:
parent
c5fb04cc96
commit
de0336b30d
1 changed files with 2 additions and 2 deletions
|
|
@ -3006,8 +3006,6 @@ static int __init amd64_edac_init(void)
|
|||
{
|
||||
int err = -ENODEV;
|
||||
|
||||
printk(KERN_INFO "AMD64 EDAC driver v%s\n", EDAC_AMD64_VERSION);
|
||||
|
||||
opstate_init();
|
||||
|
||||
if (amd_cache_northbridges() < 0)
|
||||
|
|
@ -3036,6 +3034,8 @@ static int __init amd64_edac_init(void)
|
|||
amd64_err("%s on 32-bit is unsupported. USE AT YOUR OWN RISK!\n", EDAC_MOD_STR);
|
||||
#endif
|
||||
|
||||
printk(KERN_INFO "AMD64 EDAC driver v%s\n", EDAC_AMD64_VERSION);
|
||||
|
||||
return 0;
|
||||
|
||||
err_no_instances:
|
||||
|
|
|
|||
Loading…
Reference in a new issue