Project

General

Profile

Actions

Feature #3431

open

144: correct terminations of functions in usb-system

Added by Marina Makienko over 11 years ago. Updated over 11 years ago.

Status:
Open
Priority:
Normal
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

Actions #1

Updated by Marina Makienko over 11 years ago

  • Subject changed from 144: correct termination of functions in usb-system to 144: correct terminations of functions in usb-system
Actions #2

Updated by Marina Makienko over 11 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

Actions #3

Updated by Marina Makienko over 11 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 #4

Updated by Marina Makienko over 11 years ago

  • Description updated (diff)
Actions

Also available in: Atom PDF