diff options
| author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2024-08-16 16:58:55 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-23 18:47:38 +0800 |
| commit | 1d05c382ddb4e43ce251a50f308df5e42a2f6088 (patch) | |
| tree | e690b2a63ddbb8c6dc3672233e61c9d93a35c84d /drivers/platform/surface/aggregator/controller.c | |
| parent | 9ecf52153b6f6681853b60c9912231e03857dff4 (diff) | |
usb: typec: ucsi: Don't truncate the reads
That may silently corrupt the data. Instead, failing attempts
to read more than the interface can handle.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Link: https://lore.kernel.org/r/20240816135859.3499351-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions
