Actions
Feature #3431
open144: correct terminations of functions in usb-system
Start date:
09/12/2012
Due date:
% Done:
60%
Estimated time:
Published in build:
Description
After each function, which works with memory,should be other function, which frees it.
For example:
usb_ep_alloc_request - usb_ep_free_request usb_create_hcd - usb_remove_hcd ...
Commits from linux/kernel/git/torvalds/linux.git:
5fdb4505f652
47dffc7547ed
e53a99eb154d
54a8a79c55ce
881763361e82
9fa728ea3550
a4503199f66d
Updated by Marina Makienko over 12 years ago
- Subject changed from 144: correct termination of functions in usb-system to 144: correct terminations of functions in usb-system
Updated by Marina Makienko over 12 years ago
This model was devided on some rules:
- 144_1 - check the correction of functions, which use memory allocation
- 144_2 - check the correction of functions, which work with the reference count of usb device/interface/... structure ( usb_[get|put]_*() )
- 144_3 - check other functions
Updated by Marina Makienko about 12 years ago
- Description updated (diff)
- % Done changed from 10 to 60
The rule 144_1p was added in this model. It checks the correction of functions used in rule 144_1a only in probe().
Actions