[PATCH v2 1/3] protocol-native: Ensure tlength is not set higher than maxlength

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

 



On 03/22/2013 08:39 AM, Tanu Kaskinen wrote:
> On Thu, 2013-03-21 at 19:10 +0100, David Henningsson wrote:
>> If tlength is not specified and maxlength is, tlength should never
>> be set higher than maxlength by default.
>
> Shouldn't this be enforced even if tlength is specified?

Or should instead maxlength be increased to fit the specified tlength? 
It's a matter of taste.


-- 
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux