aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/ssh_packet_layer.h
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <[email protected]>2023-12-06 07:37:08 +0000
committerGreg Kroah-Hartman <[email protected]>2023-12-08 11:02:38 +0000
commit475fc6e2de6fec0ff3c9a74ddcfd2b52c90adc0d (patch)
tree086b564ef03f2b8922fa137e1a1d4464df0c0ca8 /drivers/platform/surface/aggregator/ssh_packet_layer.h
parenttty: serdev: convert to u8 and size_t in serdev_controller_ops (diff)
downloadkernel-475fc6e2de6fec0ff3c9a74ddcfd2b52c90adc0d.tar.gz
kernel-475fc6e2de6fec0ff3c9a74ddcfd2b52c90adc0d.zip
tty: serdev: convert to u8 and size_t
Switch character types to u8 and sizes to size_t. To conform to characters/sizes in the rest of the tty layer. This patch converts struct serdev_device_ops hooks and its instantiations. Signed-off-by: "Jiri Slaby (SUSE)" <[email protected]> Cc: Rob Herring <[email protected]> Acked-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_packet_layer.h')
-rw-r--r--drivers/platform/surface/aggregator/ssh_packet_layer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/surface/aggregator/ssh_packet_layer.h b/drivers/platform/surface/aggregator/ssh_packet_layer.h
index 64633522f971..c80e822070df 100644
--- a/drivers/platform/surface/aggregator/ssh_packet_layer.h
+++ b/drivers/platform/surface/aggregator/ssh_packet_layer.h
@@ -162,7 +162,7 @@ void ssh_ptl_shutdown(struct ssh_ptl *ptl);
int ssh_ptl_submit(struct ssh_ptl *ptl, struct ssh_packet *p);
void ssh_ptl_cancel(struct ssh_packet *p);
-int ssh_ptl_rx_rcvbuf(struct ssh_ptl *ptl, const u8 *buf, size_t n);
+ssize_t ssh_ptl_rx_rcvbuf(struct ssh_ptl *ptl, const u8 *buf, size_t n);
/**
* ssh_ptl_tx_wakeup_transfer() - Wake up packet transmitter thread for