Bug #403
closedDifferent declarations of _raw_spin_lock in tests-envgen--test-twomains
0%
Description
Small test tests-envgen--test-twomains.tar.bz2 fails with Error: Declaration of _raw_spin_unlock does not match previous declaration from include/linux/spinlock.h:150 (different structs(number of fields)).
In preprocessed files for _raw_spin_unlock function in model we have parameter type raw_spinlock_t, but in driver code we have type spinlock_t
The bug occurs for model=39_1
BLAST output:
/home/mutilin/temp/ldv-tools-test/test-envmodels/launcher-working-dir/ldv-manager-work-dir/work/current--X--tests-envgen--test-twomains.tar.bz2--X--regression-testmykernel-1-2.6.32.15--X--39_1/mykernel-1-2.6.32.15/csd_deg_dscv/0/dscv_tempdir/dscv/ri/39_1/kernel-rules/files/model0039.c:70: Error: Declaration of _raw_spin_unlock does not match previous declaration from include/linux/spinlock.h:150 (different structs(number of fields)).
error in collectFunction _raw_spin_unlock: Errormsg.Errorold type = TFun(TInt(int, ),
lock: TPtr(TNamed(spinlock_t,
TCompLoop(struct __anonstruct_spinlock_t_41, _, ),
), ), )
new type = TFun(TInt(int, ),
lock: TPtr(TNamed(raw_spinlock_t,
TCompLoop(struct raw_spinlock, _, ), ), ), )