diff options
author | Elina Pasheva <epasheva@sierrawireless.com> | 2009-05-12 13:12:54 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 21:44:45 -0700 |
commit | 9636b683769a6c3acfe121314ee9d7e19157f109 (patch) | |
tree | 4355b5ef7afc7f000ae4e18659bde41c4164f315 /drivers/usb/core/usb.c | |
parent | c76a23da8e9a39222c4a7c29b0c5348cd8902a2b (diff) |
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 'drivers/usb/core/usb.c')
0 files changed, 0 insertions, 0 deletions