[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1496169416-23563-1-git-send-email-mikelley@exchange.microsoft.com>
Date: Tue, 30 May 2017 11:36:56 -0700
From: mikelley@...hange.microsoft.com
To: davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
olaf@...fle.de, apw@...onical.com, jasowang@...hat.com,
leann.ogasawara@...onical.comi, marcelo.cerri@...onical.com,
sthemmin@...rosoft.com
Cc: Michael Kelley <mikelley@...rosoft.com>
Subject: [PATCH v2 net-next 1/1] netvsc: Add #include's for csum_* function declarations
From: Michael Kelley <mikelley@...rosoft.com>
Add direct #include statements for declarations of csum_tcpudp_magic()
and csum_ipv6_magic(). While the needed #include's are picked up
indirectly for the x86 architecture, they aren't on other
architectures, resulting in compile errors.
Signed-off-by: Michael Kelley <mikelley@...rosoft.com>
---
drivers/net/hyperv/netvsc_drv.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 4421a6d..2564ac8 100644
--- a/drivers/net/hyperv/netvsc_drv.c
+++ b/drivers/net/hyperv/netvsc_drv.c
@@ -37,6 +37,8 @@
#include <net/route.h>
#include <net/sock.h>
#include <net/pkt_sched.h>
+#include <net/checksum.h>
+#include <net/ip6_checksum.h>
#include "hyperv_net.h"
--
1.7.1
Powered by blists - more mailing lists