diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-10-29 06:46:03 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-29 10:35:07 -0700 |
commit | 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 (patch) | |
tree | 1073d1e05f604faeebbde344a0d4e624fc116d65 /drivers | |
parent | 4b4a5eaedfc098d825d4c34cad1f1115802512b7 (diff) |
[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')
-rw-r--r-- | drivers/infiniband/core/agent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/agent.h b/drivers/infiniband/core/agent.h index c5f3cfec942a..86d72fab37b0 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); |