]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[PATCH] Char: mxser_new, do not null driver_data
authorJiri Slaby <jirislaby@gmail.com>
Sat, 10 Feb 2007 09:45:22 +0000 (01:45 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:29 +0000 (10:51 -0800)
commit722d5e4ae89f061582cc46ccbbd3b5ae87a6e165
tree3f73ee6a96b26e119696daea26e673c1bce9ca44
parentf64c84a1668930d1ca2b7dbaa92146c2139cb508
[PATCH] Char: mxser_new, do not null driver_data

driver_data are initialzed to NULL from tty layer, no need to do it in the
driver.  In this case it cases oops, since driver_data may be NULL for a short
while for another closing process.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: <osv@javad.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser_new.c