Netdev List
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: stefanha@redhat.com, sgarzare@redhat.com,
	virtualization@lists.linux-foundation.org,
	netdev@vger.kernel.org
Subject: sparse warnings in net/vmw_vsock/virtio_transport.c
Date: Fri, 10 Jul 2020 06:24:51 -0400	[thread overview]
Message-ID: <20200710062421-mutt-send-email-mst@kernel.org> (raw)

RCU trickery:

net/vmw_vsock/virtio_transport.c:73:17: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:73:17:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:73:17:    struct virtio_vsock *
net/vmw_vsock/virtio_transport.c:171:17: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:171:17:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:171:17:    struct virtio_vsock *
net/vmw_vsock/virtio_transport.c:207:17: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:207:17:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:207:17:    struct virtio_vsock *
net/vmw_vsock/virtio_transport.c:561:13: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:561:13:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:561:13:    struct virtio_vsock *
net/vmw_vsock/virtio_transport.c:612:9: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:612:9:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:612:9:    struct virtio_vsock *
net/vmw_vsock/virtio_transport.c:631:9: error: incompatible types in comparison expression (different address spaces):
net/vmw_vsock/virtio_transport.c:631:9:    struct virtio_vsock [noderef] __rcu *
net/vmw_vsock/virtio_transport.c:631:9:    struct virtio_vsock *
  CC [M]  net/vmw_vsock/virtio_transport.o

can you take a look at fixing this pls?

-- 
MST


             reply	other threads:[~2020-07-10 10:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 10:24 Michael S. Tsirkin [this message]
2020-07-10 10:41 ` sparse warnings in net/vmw_vsock/virtio_transport.c Stefano Garzarella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200710062421-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=sgarzare@redhat.com \
    --cc=stefanha@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox