Project

General

Profile

Actions

Bug #522

open

Drv-env-gen - generated Incorrect functions sequence.

Added by Alexandr Strakh over 13 years ago. Updated over 12 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Environment Generation
Start date:
11/03/2010
Due date:
% Done:

0%

Estimated time:
Detected in build:
cd6a83559f67ba0478d84e4f749023660fb114e9
Platform:
Linux x64
Published in build:

Description

Envgen generates probe function call after read/write driver operations for driver: ldv-tests/regr-tests/test-sets/general/drivers/kbdrivers/0032-2.6.31.6/test-0032-2.6.31.6-verdict-unsafe-drivers--usb--class--usblp.c/usblp.c.

Right sequence:
1. usblp_probe
2. file operations from next structure:
static const struct file_operations usblp_fops = {
.owner = THIS_MODULE,
.read = usblp_read,
.write = usblp_write,
.poll = usblp_poll,
.unlocked_ioctl = usblp_ioctl,
.compat_ioctl = usblp_ioctl,
.open = usblp_open,
.release = usblp_release,
};
3. usblp_suspend
4. usblp_resume
5. usblp_disconnect


Files

usblp.c (105 KB) usblp.c Driver with wrong model Alexandr Strakh, 11/03/2010 01:46 PM
Actions #1

Updated by Alexey Khoroshilov over 13 years ago

А
3. usblp_suspend
4. usblp_resume
может перемешиваться с 2.?

Actions #2

Updated by Pavel Shved about 13 years ago

  • Assignee changed from Alexandr Strakh to Vadim Mutilin

Is this model correct now? Did infinite_stateful solve the problem?

Reassigning Alexander's bugs, due to his transfer to the other project.

Actions #3

Updated by Ilja Zakharov over 12 years ago

  • Assignee changed from Vadim Mutilin to Ilja Zakharov
Actions

Also available in: Atom PDF