Re: [linux-usb-devel] oops from hotplug

2002-11-26 Thread Stuart MacDonald
From: "Randy.Dunlap" <[EMAIL PROTECTED]> > It _looks_ to me like it's having a problem with this loop in > copy_files, but I could be a bit off: > > for (i = open_files; i != 0; i--) { > struct file *f = *old_fds++; > if (f) > get_file(f); > *new_fds++ = f; > } > > and that in "if (f)" is -1. Eve

Re: [linux-usb-devel] oops from hotplug

2002-11-21 Thread Randy.Dunlap
On Thu, 21 Nov 2002, Stuart MacDonald wrote: | Oops attached below. | | The scenario: I've got a WhiteHEAT plugged in, and # cu -l /dev/ttyUSB0. The far side | is sending a small text file across, which cu is displaying as it arrives. During |the transfer I | unplug the WhiteHEAT. (can you make