diff options
author | Heikki Krogerus <[email protected]> | 2023-06-06 14:58:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-06-13 11:52:51 +0200 |
commit | c4a8bfabefed706bb9150867db528ceefd5cb5fe (patch) | |
tree | d2f12064f6dac2d55d96c422d086a8121685da3e /drivers/fpga/fpga-mgr.c | |
parent | e3dbb657571509044be15184a13134fa7c1fdca1 (diff) |
usb: typec: ucsi: Fix command cancellation
The Cancel command was passed to the write callback as the
offset instead of as the actual command which caused NULL
pointer dereference.
Reported-by: Stephan Bolten <[email protected]>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217517
Fixes: 094902bc6a3c ("usb: typec: ucsi: Always cancel the command if PPM reports BUSY condition")
Cc: [email protected]
Signed-off-by: Heikki Krogerus <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions