diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2005-10-29 05:46:03 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-29 17:35:07 (GMT) |
commit | 2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 (patch) | |
tree | 1073d1e05f604faeebbde344a0d4e624fc116d65 /drivers | |
parent | 4b4a5eaedfc098d825d4c34cad1f1115802512b7 (diff) | |
download | linux-fsl-qoriq-2d3c0b7bedfd7a8e1870a046a434bd467e7c5349.tar.xz |
[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 c5f3cfe..86d72fa 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); |