summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-10-29 06:46:03 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 10:35:07 -0700
commit2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 (patch)
tree1073d1e05f604faeebbde344a0d4e624fc116d65 /drivers/infiniband
parent4b4a5eaedfc098d825d4c34cad1f1115802512b7 (diff)
downloadkernel-crypto-2d3c0b7bedfd7a8e1870a046a434bd467e7c5349.tar.gz
kernel-crypto-2d3c0b7bedfd7a8e1870a046a434bd467e7c5349.tar.xz
kernel-crypto-2d3c0b7bedfd7a8e1870a046a434bd467e7c5349.zip
[PATCH] missing include in infiniband
use of IS_ERR/PTR_ERR in infiniband/core/agent.c, without a portable chain of includes pulling err.h (breaks on a bunch of platforms). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Acked-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/core/agent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/agent.h b/drivers/infiniband/core/agent.h
index c5f3cfec942..86d72fab37b 100644
--- a/drivers/infiniband/core/agent.h
+++ b/drivers/infiniband/core/agent.h
@@ -39,6 +39,7 @@
#ifndef __AGENT_H_
#define __AGENT_H_
+#include <linux/err.h>
#include <rdma/ib_mad.h>
extern int ib_agent_port_open(struct ib_device *device, int port_num);