We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50e06dd commit e01b042Copy full SHA for e01b042
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -7491,7 +7491,7 @@ static int __init stmmac_cmdline_opt(char *str)
7491
char *opt;
7492
7493
if (!str || !*str)
7494
- return -EINVAL;
+ return 1;
7495
while ((opt = strsep(&str, ",")) != NULL) {
7496
if (!strncmp(opt, "debug:", 6)) {
7497
if (kstrtoint(opt + 6, 0, &debug))
@@ -7522,11 +7522,11 @@ static int __init stmmac_cmdline_opt(char *str)
7522
goto err;
7523
}
7524
7525
- return 0;
7526
7527
err:
7528
pr_err("%s: ERROR broken module parameter conversion", __func__);
7529
7530
7531
7532
__setup("stmmaceth=", stmmac_cmdline_opt);
0 commit comments