Re: Serial Synth Workaround

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I usually just remove the "return null" line. You could comment it out. If you leave the warning in, you can look for that in the syslog if your kernel still doesn't work. In fact, I usually change the wording of that line a little so I can easily find it in the syslogs.




On 09/11/2016 10:26 PM, Rob wrote:
I understood that you had to comment out this statement in drivers/staging/speakup/serialio.c:
   if (err) {
    pr_warn("Unable to allocate port at %x, errno %i",
     ser->port, err);
    return NULL;
}
Was that wrong? Because I got a bunch of errors from make.
I tried commenting out just the
    return NULL;
part and still got errors. It is plainly obvious that I am no coder. Lol. What needs commenting out, exactly?
_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup

_______________________________________________
Speakup mailing list
Speakup@xxxxxxxxxxxxxxxxx
http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux