commit | 9636b683769a6c3acfe121314ee9d7e19157f109 | [log] [tgz] |
---|---|---|
author | Elina Pasheva <epasheva@sierrawireless.com> | Tue May 12 13:12:54 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Jun 15 21:44:45 2009 -0700 |
tree | 4355b5ef7afc7f000ae4e18659bde41c4164f315 | |
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>