Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterfaceNumber'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Alan Stern <stern@...>
Cc: Greg KH <greg@...>, Dave Young <hidave.darkstar@...>, <bbpetkov@...>, Kernel development list <linux-kernel@...>, USB development list <linux-usb-devel@...>
Date: Tuesday, October 16, 2007 - 12:33 pm

On Tue, Oct 16, 2007 at 10:55:54AM -0400, Alan Stern wrote:
th
=20
=20

I haven't looked at this code at all, but neither approach feels right to
me.

How does this work at all?  Even if you load a driver later, wouldn't it
call usb_set_interface(), which would call usb_create_sysfs_intf_files()
and hit the same issue?

Heck, why do both call usb_create_sysfs_intf_file()?  I would guess if
you're *changing* the active configuration you would need to do that, but
why in usb_set_interface() at all?

Matt

--=20
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.=
net=20
Maintainer, Linux USB Mass Storage Driver

I say, what are all those naked people doing?
					-- Big client to Stef
User Friendly, 12/14/1997
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
usb+sysfs: duplicate filename 'bInterfaceNumber', Borislav Petkov, (Sun Oct 14, 11:15 am)
Re: usb+sysfs: duplicate filename 'bInterfaceNumber', Dave Young, (Mon Oct 15, 1:57 am)
Re: [linux-usb-devel] usb+sysfs: duplicate filename 'bInterf..., Matthew Dharm, (Tue Oct 16, 12:33 pm)