Messages in this thread |  | | Date | Fri, 29 Sep 2000 10:19:51 +0200 | From | Paul Slootman <> | Subject | Re: [PATCH] 2.2.x Isdn init function fix |
| |
On Thu 28 Sep 2000, Luca Montecchiani wrote:
> Init function for hisax driver cause a kernel hangup if the > idstring was omitted
Good catch.
> - if (strlen(str)) { > + if (str) {
I'd make this:
+ if (str && *str) {
to preserve the intention of the original code (the string mustn't be empty).
> - if (strlen(str)) { > + if (str) {
ditto
Paul Slootman -- home: paul@wurtel.demon.nl http://www.wurtel.demon.nl/ work: paul@murphy.nl http://www.murphy.nl/ debian: paul@debian.org http://www.debian.org/ isdn4linux: paul@isdn4linux.de http://www.isdn4linux.de/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |