From: Jiri Slaby Date: Thu, 4 Apr 2013 20:41:01 +0000 (+0200) Subject: USB: io_ti, stop dereferencing potential NULL X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~135^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae3759c2573031f1306496c6f9f32f20e86f03aa;p=pandora-kernel.git USB: io_ti, stop dereferencing potential NULL tty_port_tty_get might return a tty which is NULL. But it is dereferenced unconditionally in edge_send. Stop dereferencing that by sending usb_serial_port pointer around. Signed-off-by: Jiri Slaby Cc: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed