login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
8
Re: [PATCH 7/8] USB: testusb: imported David Brownell's USB testing application
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Greg KH
Subject:
Re: [PATCH 7/8] USB: testusb: imported David Brownell's USB testing application
Date: Wednesday, April 7, 2010 - 11:18 pm
On Thu, Apr 08, 2010 at 09:10:00AM +0300, Heikki Krogerus wrote:
quoted text
> Hi, > > If this is going into kernel then.. > > On Wed, Apr 07, 2010 at 03:41:34PM +0200, ext Michal Nazarewicz wrote: > > ... > > > + if ((c = open ("/proc/bus/usb/devices", O_RDONLY)) < 0) { > > + fputs ("usbfs files are missing\n", stderr); > > + return -1; > > + } > > Is this needed? > > > + > > + /* collect and list the test devices */ > > + if (ftw ("/proc/bus/usb", find_testdev, 3) != 0) { > > How about "/dev/bus/usb" instead? Some distributions do not enable > sysfs in their default kernels anymore.
You mean 'usbfs' not 'sysfs', right? And yes, this probably should be fixed, patches are always welcome :) thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 2/8] sched: __wake_up_locked() exported
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 3/8] USB: f_fs: the FunctionFS driver
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 4/8] USB: Ethernet: allow optional removal of __ini ...
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 5/8] USB: g_ffs: the FunctionFS gadget driver
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 6/8] USB: ffs-test: FunctionFS testing program
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 7/8] USB: testusb: imported David Brownell's USB te ...
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
[PATCH 8/8] USB: testusb: testusb compatibility with Funct ...
, Michal Nazarewicz
, (Wed Apr 7, 6:41 am)
Re: [PATCH 2/8] sched: __wake_up_locked() exported
, Greg KH
, (Wed Apr 7, 8:29 am)
Re: [PATCH 2/8] sched: __wake_up_locked() exported
, =?utf-8?B?TWljaGHFgi ...
, (Wed Apr 7, 10:11 am)
Re: [PATCH 3/8] USB: f_fs: the FunctionFS driver
, =?utf-8?B?TWljaGHFgi ...
, (Wed Apr 7, 10:11 am)
Re: [PATCH 2/8] sched: __wake_up_locked() exported
, Greg KH
, (Wed Apr 7, 5:28 pm)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Greg KH
, (Wed Apr 7, 5:29 pm)
Re: [PATCH 8/8] USB: testusb: testusb compatibility with F ...
, Greg KH
, (Wed Apr 7, 5:30 pm)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Heikki Krogerus
, (Wed Apr 7, 11:10 pm)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Greg KH
, (Wed Apr 7, 11:18 pm)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Heikki Krogerus
, (Wed Apr 7, 11:34 pm)
[PATCHv2 7/8] USB: testusb: an USB testing application
, Michal Nazarewicz
, (Fri Apr 9, 12:21 pm)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, David Brownell
, (Wed Apr 14, 2:30 am)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, David Brownell
, (Wed Apr 14, 2:41 am)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Greg KH
, (Wed Apr 14, 9:46 am)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Greg KH
, (Wed Apr 14, 9:47 am)
Re: [PATCH 7/8] USB: testusb: imported David Brownell's US ...
, Greg KH
, (Wed Apr 14, 9:47 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Kay Sievers
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Eric W. Biederman
[PATCH 8/8] sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Aaron Straus
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20
git
:
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] git-mv: Keep moved index entries inact
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Juergen Ruehle
Re: [ANNOUNCE] Guilt 0.16
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric W. Biederman
[PATCH 14/20] net: Simplify pppol2tp pernet operations.
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Cabillot Julien
Re: OpenBSD isakmpd and pf vs Cisco PIX or ASA
Colocation donated by:
Syndicate