[openib-general] ppc64 compilation failure

Nishanth Aravamudan nacc at us.ibm.com
Mon Oct 31 10:49:24 PST 2005


Hi Roland,

Looks like ppc64 build with 2.6.14-git3 and svn 3918 is busted:

drivers/infiniband/core/uat.c: In function `ib_uat_init':
drivers/infiniband/core/uat.c:837: warning: passing arg 2 of `class_device_create' makes pointer from integer without a cast
drivers/infiniband/core/uat.c:837: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
drivers/infiniband/core/uat.c:837: warning: passing arg 4 of `class_device_create' from incompatible pointer type
drivers/infiniband/core/uat.c:837: error: too few arguments to function `class_device_create'

drivers/infiniband/core/uverbs_main.c: In function `ib_uverbs_add_one':
drivers/infiniband/core/uverbs_main.c:759: warning: passing arg 2 of `class_device_create' makes pointer from integer without a cast
drivers/infiniband/core/uverbs_main.c:759: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
drivers/infiniband/core/uverbs_main.c:759: warning: passing arg 4 of `class_device_create' from incompatible pointer type
drivers/infiniband/core/uverbs_main.c:759: warning: passing arg 5 of `class_device_create' makes pointer from integer without a cast

drivers/infiniband/core/user_mad.c: In function `ib_umad_init_port':
drivers/infiniband/core/user_mad.c:760: warning: passing arg 2 of `class_device_create' makes pointer from integer without a cast
drivers/infiniband/core/user_mad.c:760: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
drivers/infiniband/core/user_mad.c:760: warning: passing arg 4 of `class_device_create' from incompatible pointer type
drivers/infiniband/core/user_mad.c:760: warning: passing arg 5 of `class_device_create' makes pointer from integer without a cast
drivers/infiniband/core/user_mad.c:780: warning: passing arg 2 of `class_device_create' makes pointer from integer without a cast
drivers/infiniband/core/user_mad.c:780: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
drivers/infiniband/core/user_mad.c:780: warning: passing arg 4 of `class_device_create' from incompatible pointer type
drivers/infiniband/core/user_mad.c:780: warning: passing arg 5 of `class_device_create' makes pointer from integer without a cast

First one causes the build to fail obviously (error).

Thanks,
Nish



More information about the general mailing list