Re: return type of usb_endpoint_maxp()

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

 



On Thu, Nov 30, 2023 at 12:31:05PM +0100, Oliver Neukum wrote:
> Hi,
> 
> looking at usb_endpoint_maxp() it seems odd to me that
> the return type is a _signed_ integer. Is that a deeper
> secret or just defaulting to "int"?

Just the default, no deeper meaning or reason.  It hardly matters, 
since the values range only between 0 and 2047.

Alan Stern




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

  Powered by Linux