From: Magnus Damm Date: Wed, 9 May 2012 06:49:57 +0000 (+0900) Subject: serial8250-em: clk_get() IS_ERR() error handling fix X-Git-Tag: v3.5-rc1~146^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94e792ab66d696aad2e52c91bae4cfbeefe4c9f6;p=pandora-kernel.git serial8250-em: clk_get() IS_ERR() error handling fix Update the 8250_em driver to correctly handle the case where no clock is associated with the device. The return value of clk_get() needs to be checked with IS_ERR() to avoid NULL pointer referencing. Signed-off-by: Magnus Damm Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed