Re: [patch] USB: xhci: unsigned char never equals -1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 17, 2011 at 10:47:46PM +0300, Dan Carpenter wrote:
> Btw, xhci-ring.c causes some valid looking gcc warnings:

Which git commit are you working off of?

> C [M]  drivers/usb/host/xhci-ring.o
> drivers/usb/host/xhci-ring.c: In function âhandle_port_statusâ:
> drivers/usb/host/xhci-ring.c:1229: warning: âhcdâ may be used uninitialized in this function
> drivers/usb/host/xhci-ring.c: In function âhandle_tx_eventâ:
> drivers/usb/host/xhci-ring.c:1895: warning: âevent_trbâ may be used uninitialized in this function

I think the second warning is just the compiler getting confused, but
I'll look into the first warning.  What gcc version are you using?  I
had compile-tested the patches I recently sent to Greg, but on an older
(un-updateable, thanks Ubuntu) box with an older gcc.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux