[openib-general] 2.6.14 Compile Error

Alfred Torrez atorrez at lanl.gov
Mon Nov 14 14:35:59 PST 2005


I am seeing the following errors using svn ver 4044 and 2.6.14 kernel.
Have I missed a patch?


drivers/infiniband/core/uat.c: In function `ib_uat_init':
drivers/infiniband/core/uat.c:834: warning: passing arg 2 of 
`class_device_create' makes integer from pointer without a 
castdrivers/infiniband/core/uat.c:834: warning: passing arg 3 of 
`class_device_create' makes pointer from integer without a 
castdrivers/infiniband/core/uat.c:834: warning: too many arguments for format
  CC [M]  drivers/infiniband/core/ucm.o
In file included from drivers/infiniband/core/ucm.c:50:
drivers/infiniband/include/rdma/ib_marshall.h:42: warning: `struct 
ib_uverbs_qp_attr' declared inside parameter 
listdrivers/infiniband/include/rdma/ib_marshall.h:42: warning: its scope is 
only this definition or declaration, which is probably not what you want
drivers/infiniband/core/ucm.c: In function `ib_ucm_event_req_get':
drivers/infiniband/core/ucm.c:222: error: structure has no member named `port'
drivers/infiniband/core/ucm.c:224: warning: passing arg 1 of 
`ib_copy_path_rec_to_user' from incompatible pointer 
typedrivers/infiniband/core/ucm.c:227: warning: passing arg 1 of 
`ib_copy_path_rec_to_user' from incompatible pointer 
typedrivers/infiniband/core/ucm.c: In function `ib_ucm_event_process':
drivers/infiniband/core/ucm.c:298: warning: passing arg 1 of 
`ib_copy_path_rec_to_user' from incompatible pointer 
typedrivers/infiniband/core/ucm.c:311: error: structure has no member named 
`port'
drivers/infiniband/core/ucm.c: In function `ib_ucm_create_id':
drivers/infiniband/core/ucm.c:509: warning: passing arg 1 of 
`ib_create_cm_id' from incompatible pointer type
drivers/infiniband/core/ucm.c:509: error: too many arguments to function 
`ib_create_cm_id'
drivers/infiniband/core/ucm.c: In function `ib_ucm_init_qp_attr':
drivers/infiniband/core/ucm.c:614: error: storage size of `resp' isn't known
drivers/infiniband/core/ucm.c:614: warning: unused variable `resp'
make[3]: *** [drivers/infiniband/core/ucm.o] Error 1
make[2]: *** [drivers/infiniband/core] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [drivers] Error 2

Alfred







More information about the general mailing list