From: Andrew Morton Date: Fri, 8 Dec 2006 10:38:12 +0000 (-0800) Subject: [PATCH] mxser: session warning fix X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08a4ae44a7f5a0106c38de95adfd31b2a654b109;p=linux-beck.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 a3aff0bd8e23..aae4cb31b9ac 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); /*