From: Andrew Morton Date: Fri, 8 Dec 2006 10:38:12 +0000 (-0800) Subject: [PATCH] mxser: session warning fix X-Git-Tag: v2.6.20-rc1~34^2~240 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=08a4ae44a7f5a0106c38de95adfd31b2a654b109;p=linux-2.6-omap-h63xx.git [PATCH] mxser: session warning fix Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/mxser_new.c b/drivers/char/mxser_new.c index a3aff0bd8e2..aae4cb31b9a 100644 --- a/drivers/char/mxser_new.c +++ b/drivers/char/mxser_new.c @@ -997,7 +997,7 @@ static int mxser_open(struct tty_struct *tty, struct file *filp) mxser_change_speed(info, NULL); } - info->session = current->signal->session; + info->session = process_session(current); info->pgrp = process_group(current); /*