From: Samuel Iglesias Gonsálvez Date: Fri, 13 Jul 2012 11:33:13 +0000 (+0200) Subject: Staging: ipack/devices/ipoctal: fix dereference NULL pointer X-Git-Tag: v3.6-rc1~100^2~180 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1337b07e664c5a40ae0c5cbc13f5da4cf37c870c;p=pandora-kernel.git Staging: ipack/devices/ipoctal: fix dereference NULL pointer After opening and closing the file /dev/ipoctal.X.Y.Z for the second time, it gives a kernel oops due to a dereference of a NULL pointer. The problem was that tty->driver_data was not properly initialized when accessing the file for the second time. Reported-by: Alberto Garcia Gonzalez Signed-off-by: Samuel Iglesias Gonsálvez Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed