projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b4a5ea
)
[PATCH] missing include in infiniband
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 29 Oct 2005 05:46:03 +0000
(06:46 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 29 Oct 2005 17:35:07 +0000
(10:35 -0700)
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>
drivers/infiniband/core/agent.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/agent.h
b/drivers/infiniband/core/agent.h
index c5f3cfec942adb8f246e4d46adb4565b84dcf6fa..86d72fab37b0d4cccff79885368e608abd1ebcec 100644
(file)
--- 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);