Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1537052
| From | "Michael S. Tsirkin" <mst@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 08/10] vsock/virtio: mark an internal function static |
| Date | 2016-12-06 16:50 +0100 |
| Message-ID | <sLqad-3UD-29@gated-at.bofh.it> (permalink) |
| References | <sLqad-3UD-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
virtio_transport_alloc_pkt is only used locally, make it static. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> --- net/vmw_vsock/virtio_transport_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c index a53b3a1..6120384 100644 --- a/net/vmw_vsock/virtio_transport_common.c +++ b/net/vmw_vsock/virtio_transport_common.c @@ -32,7 +32,7 @@ static const struct virtio_transport *virtio_transport_get_ops(void) return container_of(t, struct virtio_transport, transport); } -struct virtio_vsock_pkt * +static struct virtio_vsock_pkt * virtio_transport_alloc_pkt(struct virtio_vsock_pkt_info *info, size_t len, u32 src_cid, -- MST
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 08/10] vsock/virtio: mark an internal function static "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-06 16:50 +0100
Re: [PATCH 08/10] vsock/virtio: mark an internal function static Jason Wang <jasowang@redhat.com> - 2016-12-07 05:30 +0100
Re: [PATCH 08/10] vsock/virtio: mark an internal function static "Michael S. Tsirkin" <mst@redhat.com> - 2016-12-08 15:30 +0100
Re: [PATCH 08/10] vsock/virtio: mark an internal function static Stefan Hajnoczi <stefanha@redhat.com> - 2016-12-07 15:20 +0100
csiph-web