From: Oliver Hartkopp <socketcan@hartkopp.net>
To: David Miller <davem@davemloft.net>, peter.p.waskiewicz.jr@intel.com
Cc: jeffrey.t.kirsher@intel.com, netdev@vger.kernel.org, gospo@redhat.com
Subject: includes build break - was Re: [net-next-2.6 PATCH v5 0/3] Introduce n-tuple ethtool support
Date: Sun, 14 Feb 2010 12:56:28 +0100 [thread overview]
Message-ID: <4B77E4EC.30407@hartkopp.net> (raw)
In-Reply-To: <20100210.195445.190157100.davem@davemloft.net>
David Miller wrote:
> From: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
> Date: Wed, 10 Feb 2010 18:07:18 -0800
>
>> One more round of fixes, based on feedback from Patrick McHardy
>>
>> 1) Change the list count to an unsigned value
>> 2) Fix a memory leak
>> 3) Removed an unnecessary list traversal in the ethtool core
>> 4) Moved all list destruction to a helper function, allowing the driver
>> to control when it clears the list (aside from when free_netdev() kills
>> the cached list).
>
> All applied, thanks.
>
Hi Peter,
compiling the latest net-next-2.6 i got this problem:
CHECK include/linux (358 files)
/home/hartko/net-next-2.6/usr/include/linux/ethtool.h:17: included file 'linux/rculist.h' is not exported
Which has been introduced by
http://git.kernel.org/?p=linux/kernel/git/davem/net-next-2.6.git;a=commitdiff;h=15682bc488d4af8c9bb998844a94281025e0a333
("ethtool: Introduce n-tuple filter programming support")
The patch below fixes the issue.
Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net>
---
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index a3cac53..83a9a53 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -14,7 +14,9 @@
#define _LINUX_ETHTOOL_H
#include <linux/types.h>
+#ifdef __KERNEL__
#include <linux/rculist.h>
+#endif
/* This should work for both 32 and 64 bit userland. */
struct ethtool_cmd {
next prev parent reply other threads:[~2010-02-14 11:56 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 2:07 [net-next-2.6 PATCH v5 0/3] Introduce n-tuple ethtool support Jeff Kirsher
2010-02-11 2:07 ` [net-next-2.6 PATCH v5 1/3] ethtool: Introduce n-tuple filter programming support Jeff Kirsher
2010-02-11 2:07 ` [net-next-2.6 PATCH v5 2/3] ixgbe: Add support for the new ethtool n-tuple programming interface Jeff Kirsher
2010-02-11 2:08 ` [net-next-2.6 PATCH v5 3/3] ixgbe: Bump driver version up Jeff Kirsher
2010-02-11 3:54 ` [net-next-2.6 PATCH v5 0/3] Introduce n-tuple ethtool support David Miller
2010-02-11 4:01 ` David Miller
2010-02-11 4:18 ` Peter P Waskiewicz Jr
2010-02-14 11:56 ` Oliver Hartkopp [this message]
2010-02-15 6:38 ` includes build break - was " David Miller
2010-02-11 8:02 ` robert
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=4B77E4EC.30407@hartkopp.net \
--to=socketcan@hartkopp.net \
--cc=davem@davemloft.net \
--cc=gospo@redhat.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=netdev@vger.kernel.org \
--cc=peter.p.waskiewicz.jr@intel.com \
/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).