public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Andries.Brouwer@cwi.nl
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: Re: usb devicefs flaw
Date: Sun, 4 Aug 2002 12:22:15 -0700	[thread overview]
Message-ID: <20020804192215.GA23659@kroah.com> (raw)
In-Reply-To: <UTC200208041858.g74IwNr05640.aeb@smtp.cwi.nl>

On Sun, Aug 04, 2002 at 08:58:23PM +0200, Andries.Brouwer@cwi.nl wrote:
> In drivers/usb/core/usb.c the routine usb_alloc_dev() will
> set the devpath for the root hub to "/".
> Then usb_find_drivers() constructs a filename used by driverfs
> using
> 
>                 sprintf (&interface->dev.bus_id[0], "%s-%s:%d",
>                          dev->bus->bus_name, dev->devpath,
>                          interface->altsetting->bInterfaceNumber);
> 
> This leads to filenames like "00:07.2-/:0" with embedded '/'.

Fix is already in Linus's tree, thanks to David Brownell:
	http://linus.bkbits.net:8080/linux-2.5/cset@1.437.41.12

Original patch sent to linux-usb-devel for this is at:
	http://marc.theaimsgroup.com/?l=linux-usb-devel&m=102831350007377&w=2
	
thanks,

greg k-h

  reply	other threads:[~2002-08-04 19:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-04 18:58 usb devicefs flaw Andries.Brouwer
2002-08-04 19:22 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-04 20:07 Andries.Brouwer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020804192215.GA23659@kroah.com \
    --to=greg@kroah.com \
    --cc=Andries.Brouwer@cwi.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox