[ 17/56] Remove BUG_ON from n_tty_read()

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kozina commit e9490e93c1978b6669f3e993caa3189be13ce459 upstream. Change the BUG_ON to WARN_ON and return in case of tty->read_buf==NULL. We want to track a couple of long standing

[ 17/56] Remove BUG_ON from n_tty_read()

2012-10-04 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kozina skoz...@redhat.com commit e9490e93c1978b6669f3e993caa3189be13ce459 upstream. Change the BUG_ON to WARN_ON and return in case of tty-read_buf==NULL. We want to track a couple