mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 13:40:53 +07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog: [WATCHDOG] SBC-FITPC2 watchdog driver registration fix
This commit is contained in:
commit
7bbf8ef690
@ -227,7 +227,7 @@ static int __init fitpc2_wdt_init(void)
|
||||
}
|
||||
|
||||
err = misc_register(&fitpc2_wdt_miscdev);
|
||||
if (!err) {
|
||||
if (err) {
|
||||
pr_err("cannot register miscdev on minor=%d (err=%d)\n",
|
||||
WATCHDOG_MINOR, err);
|
||||
goto err_margin;
|
||||
|
Loading…
Reference in New Issue
Block a user