]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Use the actual buffer in tb_async_error()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 29 Apr 2022 14:10:17 +0000 (17:10 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 18 Aug 2022 08:55:46 +0000 (11:55 +0300)
commit570260dfb80c132368eba35303d1b4cf5f2d6cc5
tree0aeb97c38ca6b471e256515b7da55733827cae81
parent3d7dcb2c5450a57f60c448f42be48fdfe456bfdf
thunderbolt: Use the actual buffer in tb_async_error()

The received notification packet is held in pkg->buffer and not in pkg
itself. Fix this by using the correct buffer.

Fixes: 8c988d3f3807 ("thunderbolt: Let the connection manager handle all notifications")
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/ctl.c