netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] list_nulls: fix missing header
@ 2015-01-04  7:24 Ying Xue
  2015-01-05  4:12 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Ying Xue @ 2015-01-04  7:24 UTC (permalink / raw)
  To: netdev; +Cc: davem

Fixup below build error:

include/linux/list_nulls.h: In function ‘hlist_nulls_del’:
include/linux/list_nulls.h:84:13: error: ‘LIST_POISON2’ undeclared (first use in this function)

Signed-off-by: Ying Xue <ying.xue@windriver.com>
---
 include/linux/list_nulls.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/list_nulls.h b/include/linux/list_nulls.h
index e8c300e..f266661 100644
--- a/include/linux/list_nulls.h
+++ b/include/linux/list_nulls.h
@@ -1,6 +1,9 @@
 #ifndef _LINUX_LIST_NULLS_H
 #define _LINUX_LIST_NULLS_H
 
+#include <linux/poison.h>
+#include <linux/const.h>
+
 /*
  * Special version of lists, where end of list is not a NULL pointer,
  * but a 'nulls' marker, which can have many different values.
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] list_nulls: fix missing header
  2015-01-04  7:24 [PATCH net-next] list_nulls: fix missing header Ying Xue
@ 2015-01-05  4:12 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-01-05  4:12 UTC (permalink / raw)
  To: ying.xue; +Cc: netdev

From: Ying Xue <ying.xue@windriver.com>
Date: Sun, 4 Jan 2015 15:24:35 +0800

> Fixup below build error:
> 
> include/linux/list_nulls.h: In function ‘hlist_nulls_del’:
> include/linux/list_nulls.h:84:13: error: ‘LIST_POISON2’ undeclared (first use in this function)
> 
> Signed-off-by: Ying Xue <ying.xue@windriver.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-05  4:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-04  7:24 [PATCH net-next] list_nulls: fix missing header Ying Xue
2015-01-05  4:12 ` David Miller

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).