Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320291

[PATCH V2 01/13] tools/hv: Use include/uapi with __EXPORTED_HEADERS__

From "K. Y. Srinivasan" <kys@microsoft.com>
Newsgroups linux.kernel
Subject [PATCH V2 01/13] tools/hv: Use include/uapi with __EXPORTED_HEADERS__
Date 2016-01-28 06:00 +0100
Message-ID <qVMQy-6q1-5@gated-at.bofh.it> (permalink)
References <qVMQy-6q1-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Kamal Mostafa <kamal@canonical.com>

Use the local uapi headers to keep in sync with "recently" added #define's
(e.g. VSS_OP_REGISTER1).

Fixes: 3eb2094c59e8 ("Adding makefile for tools/hv")
Cc: <stable@vger.kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
---
 tools/hv/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/hv/Makefile b/tools/hv/Makefile
index a8ab795..a8c4644 100644
--- a/tools/hv/Makefile
+++ b/tools/hv/Makefile
@@ -5,6 +5,8 @@ PTHREAD_LIBS = -lpthread
 WARNINGS = -Wall -Wextra
 CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)
 
+CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
+
 all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
 %: %.c
 	$(CC) $(CFLAGS) -o $@ $^
-- 
1.7.4.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH V2 01/13] tools/hv: Use include/uapi with __EXPORTED_HEADERS__ "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 12/13] Drivers: hv: vmbus: Eliminate the spin lock on the read path "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 05/13] Drivers: hv: vmbus: add a helper function to set a channel's pending send size "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 06/13] Drivers: hv: vmbus: define the new offer type for Hyper-V socket (hvsock) "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
    Re: [PATCH V2 06/13] Drivers: hv: vmbus: define the new offer type  for Hyper-V socket (hvsock) Greg KH <gregkh@linuxfoundation.org> - 2016-02-08 06:40 +0100
  [PATCH V2 11/13] Drivers: hv: vmbus: add an API vmbus_hvsock_device_unregister() "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 08/13] Drivers: hv: vmbus: define a new VMBus message type for hvsock "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 13/13] Drivers: hv: vmbus: Give control over how the ring access is serialized "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 02/13] Drivers: hv: vmbus: avoid infinite loop in init_vp_index() "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100
  [PATCH V2 10/13] Drivers: hv: vmbus: add a per-channel rescind callback "K. Y. Srinivasan" <kys@microsoft.com> - 2016-01-28 06:00 +0100

csiph-web