diff options
| author | Sangho Yi <antiroot@gmail.com> | 2012-10-18 00:15:13 +0900 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-24 11:34:51 -0700 | 
| commit | 7a0c4edae99da6ab3d402deb0d88410251c6ac63 (patch) | |
| tree | 8740b2ebe770ae77a6a9ba65874446a122151e4f | |
| parent | 8ae763cd7e88a6bc552a6615ba6c1dcaa4828cbf (diff) | |
| download | olio-linux-3.10-7a0c4edae99da6ab3d402deb0d88410251c6ac63.tar.xz olio-linux-3.10-7a0c4edae99da6ab3d402deb0d88410251c6ac63.zip  | |
tty: tty_mutex.c: Fixed coding style warning (using printk)
Here I fixed from printk(KERN_ERR, ... to pr_err(... on tty_mutex.c
Signed-off-by: Sangho Yi <antiroot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/tty/tty_mutex.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/tty_mutex.c b/drivers/tty/tty_mutex.c index 67feac9e6eb..2e41abebbcb 100644 --- a/drivers/tty/tty_mutex.c +++ b/drivers/tty/tty_mutex.c @@ -19,7 +19,7 @@ static void __lockfunc tty_lock_nested(struct tty_struct *tty,  				       unsigned int subclass)  {  	if (tty->magic != TTY_MAGIC) { -		printk(KERN_ERR "L Bad %p\n", tty); +		pr_err("L Bad %p\n", tty);  		WARN_ON(1);  		return;  	} @@ -36,7 +36,7 @@ EXPORT_SYMBOL(tty_lock);  void __lockfunc tty_unlock(struct tty_struct *tty)  {  	if (tty->magic != TTY_MAGIC) { -		printk(KERN_ERR "U Bad %p\n", tty); +		pr_err("U Bad %p\n", tty);  		WARN_ON(1);  		return;  	}  |