diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2024-02-22 16:00:52 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2024-02-22 16:00:52 +0100 |
commit | 2d6ce046e22eac405160e071f6c95b5ac6942437 (patch) | |
tree | 83e885443c4ad3d56d2c692e48863b526b9f3ae2 /net/vmw_vsock/virtio_transport_common.c | |
parent | e60960c4ba278d3bbde28491f97a52b80b3164b5 (diff) | |
parent | 1d146b1875fc901ae6bfe26ec8fed15b8dcd97ae (diff) |
Merge tag 'v5.15.144' into fslc-5.15-2.2.x-imx
This is the 5.15.144 stable release
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'net/vmw_vsock/virtio_transport_common.c')
-rw-r--r-- | net/vmw_vsock/virtio_transport_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c index 3a12aee33e92..00e8b60af0f8 100644 --- a/net/vmw_vsock/virtio_transport_common.c +++ b/net/vmw_vsock/virtio_transport_common.c @@ -565,7 +565,7 @@ static s64 virtio_transport_has_space(struct vsock_sock *vsk) struct virtio_vsock_sock *vvs = vsk->trans; s64 bytes; - bytes = vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); + bytes = (s64)vvs->peer_buf_alloc - (vvs->tx_cnt - vvs->peer_fwd_cnt); if (bytes < 0) bytes = 0; |