summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_io.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2017-02-16 23:11:44 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-17 14:14:00 +0900
commitd437fa9109bab8b83a9427d48bebff6c3e053010 (patch)
treef0d90fbd8fd2b093e4b9d6028d21b2a0c86f33bd /drivers/tty/tty_io.c
parentd62100f1aac28d18057c05410f706c65baf748fa (diff)
downloadop-kernel-dev-d437fa9109bab8b83a9427d48bebff6c3e053010.zip
op-kernel-dev-d437fa9109bab8b83a9427d48bebff6c3e053010.tar.gz
drivers/tty: Convert remaining uses of pr_warning to pr_warn
To enable eventual removal of pr_warning This makes pr_warn use consistent for drivers/tty Prior to this patch, there were 2 uses of pr_warning and 23 uses of pr_warn in drivers/tty Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_io.c')
-rw-r--r--drivers/tty/tty_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c
index e6d1a65..de4543e 100644
--- a/drivers/tty/tty_io.c
+++ b/drivers/tty/tty_io.c
@@ -2843,8 +2843,8 @@ static void tty_warn_deprecated_flags(struct serial_struct __user *ss)
flags &= ASYNC_DEPRECATED;
if (flags && __ratelimit(&depr_flags))
- pr_warning("%s: '%s' is using deprecated serial flags (with no effect): %.8x\n",
- __func__, get_task_comm(comm, current), flags);
+ pr_warn("%s: '%s' is using deprecated serial flags (with no effect): %.8x\n",
+ __func__, get_task_comm(comm, current), flags);
}
/*
OpenPOWER on IntegriCloud