Re: USB: serial: regression (oops) at module unload in usb-next

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

 



On Mon, Mar 26, 2012 at 10:46:23AM -0400, Alan Stern wrote:
> On Fri, 23 Mar 2012, Johan Hovold wrote:
> 
> > I'm afraid I don't have time to debug this further today, but I did a
> > quick test removing the if statement above. It didn't oops at unload,
> > but instead I got the following warning when the module was reloaded:
> > 
> > 
> > [  291.257618] drivers/usb/serial/usb-serial.c: usb_serial_probe - registering ttyUSB0
> > [  291.257830] ------------[ cut here ]------------
> > [  291.257854] WARNING: at fs/sysfs/dir.c:481 sysfs_add_one+0x95/0xd0()
> > [  291.257883] Hardware name: Vostro 1520
> > [  291.257893] sysfs: cannot create duplicate filename '/dev/char/188:0'
> 
> Here's a patch for you to try.  On my system I don't get any warnings
> or errors while using it with a PL2303.

I no longer get the oops at unload with the patch applied.

Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux