Skip to content

thunderbolt: Fix buffers allocation for device without DisplayPort adaptors

Gil Fine linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2thunderbolt: Fix buffers allocation for device without DisplayPort adaptorsdrivers/thunderbolt/tunnel.c+5 -20 replies
2/2thunderbolt: Add KUnit test for buffer allocation for device without DisplayPort adaptorsdrivers/thunderbolt/test.c+92 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 9 lines
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.