From: Elina Pasheva Date: Tue, 12 May 2009 20:12:54 +0000 (-0700) Subject: USB: serial: sierra driver sierra_calc_num_ports() fix X-Git-Tag: v2.6.31-rc1~304^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9636b683769a6c3acfe121314ee9d7e19157f109;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed