From: Breno Leitao Date: Thu, 7 Oct 2010 16:40:42 +0000 (-0300) Subject: jsm: Remove the uart port on errors X-Git-Tag: v2.6.37-rc1~155^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf4f6a51477a68fe144b0c62f10c410b0c41378;p=pandora-kernel.git jsm: Remove the uart port on errors If kzmalloc fails, the uart port is not removed causing a leak. This patch just add another label that removes the uart when the kzmalloc fails. Signed-off-by: Breno Leitao Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed