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 kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux