Project

General

Profile

Actions

Bug #403

closed

Different declarations of _raw_spin_lock in tests-envgen--test-twomains

Added by Vadim Mutilin almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Category:
Rules and Models
Start date:
08/27/2010
Due date:
% Done:

0%

Estimated time:
Detected in build:
144ed1cd44098ea33f3b27128652989f832f3ecf
Platform:
Published in build:
f2e6786

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, _, ), ), ), )


Related issues 1 (0 open1 closed)

Related to Linux Driver Verification - Bug #515: Middle regression test fails!ClosedAlexandr Strakh11/01/2010

Actions
Actions

Also available in: Atom PDF