Re: [patch -next] VSOCK: signedness bug in virtio_transport_dgram_enqueue()

2015-12-09 Thread Stefan Hajnoczi
On Wed, Dec 09, 2015 at 01:27:13PM +0300, Dan Carpenter wrote: > "written" has to be signed for the error handling to work. > trans->ops->send_pkt() returns an int so that's fine. > > Fixes: 80a19e338d45 ('VSOCK: Introduce virtio-vsock-common.ko') > Signed-off-by: Dan Carpenter > > diff --git a/

[patch -next] VSOCK: signedness bug in virtio_transport_dgram_enqueue()

2015-12-09 Thread Dan Carpenter
"written" has to be signed for the error handling to work. trans->ops->send_pkt() returns an int so that's fine. Fixes: 80a19e338d45 ('VSOCK: Introduce virtio-vsock-common.ko') Signed-off-by: Dan Carpenter diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_com