Actions
Bug #522
openDrv-env-gen - generated Incorrect functions sequence.
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
Actions