diff options
author | Elina Pasheva <epasheva@sierrawireless.com> | 2009-05-12 22:12:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-16 06:44:45 +0200 |
commit | 9636b683769a6c3acfe121314ee9d7e19157f109 (patch) | |
tree | 4355b5ef7afc7f000ae4e18659bde41c4164f315 /tools/perf/builtin-report.c | |
parent | USB: serial: sierra driver interrupt urb resubmit fix (diff) | |
download | linux-9636b683769a6c3acfe121314ee9d7e19157f109.tar.xz linux-9636b683769a6c3acfe121314ee9d7e19157f109.zip |
USB: serial: sierra driver sierra_calc_num_ports() fix
- Removed potential kernel oops from sierra_calc_num_ports() function.
Calling this function twice would likely have caused an oops because
the function releases allocated memory after the first call.
- Modified sierra_probe() function to reflect the changes in
sierra_calc_num_ports().
Signed-off-by: Elina Pasheva <epasheva@sierrawireless.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/builtin-report.c')
0 files changed, 0 insertions, 0 deletions