Re: [PATCH] 2.2.x Isdn init function fix

2000-09-29 Thread Paul Slootman
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

[PATCH] 2.2.x Isdn init function fix

2000-09-28 Thread Luca Montecchiani
Hi ! Init function for hisax driver cause a kernel hangup if the idstring was omitted "hisax=18,2" hang on boot "hisax=18,2,HiSax" was fine Kernel 2.4.x and modularized hisax was fine as well. --- linux/drivers/isdn/hisax/config.c.orig Wed May 10 15:26:11 2000 +++ linux/drivers/