From 08a4ae44a7f5a0106c38de95adfd31b2a654b109 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 8 Dec 2006 02:38:12 -0800 Subject: [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 a3aff0b..aae4cb3 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); /* -- cgit v0.10.2