[ofa-general] compilation problem on ofed_1_2

Roland Dreier rdreier at cisco.com
Fri Mar 23 15:57:29 PDT 2007


 > Second, in file ofa_kernel-1.2/drivers/infiniband/ulp/vnic/vnic_main.c,
 > failed definition SPIN_LOCK_UNLOCKED. Seems to be, "spinlock.h" include is
 > missed in this file.

this is a problem with the vnic code that needs to be cleaned up --
SPIN_LOCK_UNLOCKED is not really supposed to be used in generic code.
Either spin_lock_init() or DEFINE_SPINLOCK() should be used instead.

Thanks for the report.



More information about the general mailing list