[PATCH 0/2] thunderbolt: Fix buffers allocation for device without DisplayPort adaptors

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

 



For the case of device without DP adaptors, we calculate incorrectly the
buffers allocation. Here we fix the calculation for this case.
In addition, we add a KUnit test for this case.

Gil Fine (2):
  thunderbolt: Fix buffers allocation for device without DisplayPort
    adaptors
  thunderbolt: Add KUnit test for buffer allocation for device without
    DisplayPort adaptors

 drivers/thunderbolt/test.c   | 92 ++++++++++++++++++++++++++++++++++++
 drivers/thunderbolt/tunnel.c |  7 ++-
 2 files changed, 97 insertions(+), 2 deletions(-)

-- 
2.17.1

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




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

  Powered by Linux