提交 e8b398de 编写于 作者: D Dotan Barak 提交者: Roland Dreier

IB: Include <linux/list.h> from <rdma/ib_mad.h>

ib_mad.h uses struct list_head, so while linux/list.h seems to be
pulled in indirectly by one of the headers it includes, the right
thing is to include linux/list.h directly.
Signed-off-by: NDotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: NRoland Dreier <rolandd@cisco.com>
上级 38d5af95
......@@ -39,6 +39,8 @@
#if !defined( IB_MAD_H )
#define IB_MAD_H
#include <linux/list.h>
#include <rdma/ib_verbs.h>
/* Management base version */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册