[libvirt] [Klaus at Ethgen.de: [Pkg-libvirt-maintainers] Bug#579208: USB Class/Number/... is base 16, not base 10 (Failed to convert 'ff' to unsigned int)]

Guido Günther agx at sigxcpu.org
Tue Apr 27 17:48:57 UTC 2010


On Mon, Apr 26, 2010 at 11:26:51AM -0600, Eric Blake wrote:
> On 04/26/2010 11:11 AM, Guido Günther wrote:
> > Hi,
> > this patch from Klau Ethgen looks right to me. O.k. to apply? I'll
> > remove the comment with this patch then.
> 
> Is there documentation somewhere that mentions what base the udev
> strings are encoded in?  At any rate, I agree with you that given the
> XXX comment, that this patch looks right.
As Klaus pointed out the only docs seems to be the kernel source.
> 
> >      if (udevGetUintSysfsAttr(device,
> >                               "bInterfaceNumber",
> >                               &data->usb_if.number,
> > -                             10) == PROPERTY_ERROR) {
> > +                             16) == PROPERTY_ERROR) {
> 
> ACK.
Pushed now.
 -- Guido




More information about the libvir-list mailing list