From: Mike Rapoport <rppt@linux.vnet.ibm.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: netdev@vger.kernel.org, Mike Rapoport <rppt@linux.vnet.ibm.com>,
linux-kernel@vger.kernel.org,
virtualization@lists.linux-foundation.org
Subject: [PATCH 1/6] virtio_net: add _UAPI prefix to virtio_net header guards
Date: Wed, 8 Jun 2016 16:09:17 +0300 [thread overview]
Message-ID: <1465391362-18437-2-git-send-email-rppt@linux.vnet.ibm.com> (raw)
In-Reply-To: <1465391362-18437-1-git-send-email-rppt@linux.vnet.ibm.com>
This gives better namespacing and prevents conflicts with no-uapi version
of virtio_net header that will be introduced in the following patch.
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
include/uapi/linux/virtio_net.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h
index ec32293..75cf581 100644
--- a/include/uapi/linux/virtio_net.h
+++ b/include/uapi/linux/virtio_net.h
@@ -1,5 +1,5 @@
-#ifndef _LINUX_VIRTIO_NET_H
-#define _LINUX_VIRTIO_NET_H
+#ifndef _UAPI_LINUX_VIRTIO_NET_H
+#define _UAPI_LINUX_VIRTIO_NET_H
/* This header is BSD licensed so anyone can use the definitions to implement
* compatible drivers/servers.
*
@@ -242,4 +242,4 @@ struct virtio_net_ctrl_mq {
#define VIRTIO_NET_CTRL_GUEST_OFFLOADS 5
#define VIRTIO_NET_CTRL_GUEST_OFFLOADS_SET 0
-#endif /* _LINUX_VIRTIO_NET_H */
+#endif /* _UAPI_LINUX_VIRTIO_NET_H */
--
1.9.1
next prev parent reply other threads:[~2016-06-08 13:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 13:09 [PATCH 0/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion Mike Rapoport
2016-06-08 13:09 ` Mike Rapoport [this message]
2016-06-08 13:09 ` [PATCH 2/6] virtio_net: introduce virtio_net_hdr_{from,to}_skb Mike Rapoport
2016-06-08 13:09 ` [PATCH 3/6] macvtap: use common code for virtio_net_hdr and skb GSO conversion Mike Rapoport
2016-06-08 13:09 ` [PATCH 4/6] tuntap: " Mike Rapoport
2016-06-08 13:09 ` [PATCH 5/6] virtio_net: " Mike Rapoport
2016-06-08 13:09 ` [PATCH 6/6] packet: " Mike Rapoport
2016-06-11 6:04 ` [PATCH 0/6] virtio_net: " David Miller
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=1465391362-18437-2-git-send-email-rppt@linux.vnet.ibm.com \
--to=rppt@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).