From: Lonnie Mendez <lmendez19@austin.rr.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul returning 0 for bus_num
Date: Thu, 15 Jun 2006 00:47:24 -0500 [thread overview]
Message-ID: <1150350444.5338.6.camel@localhost> (raw)
In-Reply-To: <449031FC.3060100@bellard.org>
On Wed, 2006-06-14 at 17:57 +0200, Fabrice Bellard wrote:
> Lonnie Mendez wrote:
> > lo list. Trying usb_add host:3.2 was failing with:
> >
> > /proc/bus/usb/000/002: No such file or directory
> >
> > in the terminal that qemu was spawned from. It looks like strtoul was
> > returning 0 for bus_num with the devname "host:3.2". I rewrote the
> > function to use sscanf in both cases.
>
> Can you confirm ? From the code, usb_host_find_device() is never called
> with "host:" as initial string (it is filtered before in vl.c).
For whatever reason I am unable to reproduce this now. It may have
been a contaminated binary. For what it's worth this is with a
different distro.
prev parent reply other threads:[~2006-06-15 5:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-25 3:24 [Qemu-devel] [usb] redo usb_host_find_device() routine - strtoul returning 0 for bus_num Lonnie Mendez
[not found] ` <449031FC.3060100@bellard.org>
2006-06-15 5:47 ` Lonnie Mendez [this message]
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=1150350444.5338.6.camel@localhost \
--to=lmendez19@austin.rr.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).