[PATCH] missing include in infiniband
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Oct 2005 05:46:03 +0000 (06:46 +0100)
committerLinus 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

index c5f3cfec942adb8f246e4d46adb4565b84dcf6fa..86d72fab37b0d4cccff79885368e608abd1ebcec 100644 (file)
@@ -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);