Re: [PATCH] usb: host: xhci: make 'usec' parameter of xhci_handshake() *unsigned*

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

 



On Tue, Feb 15, 2022 at 11:09:21PM +0300, Sergey Shtylyov wrote:
> The negative timeouts hardly make sense, and the 'usec' parameter of
> xhci_handshake() gets assigned to a 'u64' typed local variable in
> readl_poll_timeout_atomic() anyways...

Then why not just make it a u64 instead of a unsigned int?

thanks,

greg k-h



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

  Powered by Linux