Re: [linux-usb-devel] freeing minors in probe error path

2002-05-05 Thread Oliver Neukum
> Good catch, but unless I'm missing something from just looking at the > patch rather than the whole 2.5 version of the code, it appears that the > "usblp->minor >= USBLP_MINORS" error may be improperly handled here, > because "usb_deregister_dev (&usblp_driver, 1, usblp->minor)" will > be called

Re: [linux-usb-devel] freeing minors in probe error path

2002-05-05 Thread David Paschal
Oliver Neukum wrote: > you fail to free minors if something goes wrong in probe. ... > usblp->minor++; > if (usblp->minor >= USBLP_MINORS) { > err("no more free usblp devices"); > - goto abort; >

[linux-usb-devel] freeing minors in probe error path

2002-05-05 Thread Oliver Neukum
Hi, you fail to free minors if something goes wrong in probe. Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. ==