Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d437fa91 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d62100f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1575,7 +1575,7 @@ static int __init hvcs_module_init(void)
	 */
	rc = driver_create_file(&(hvcs_vio_driver.driver), &driver_attr_rescan);
	if (rc)
		pr_warning("HVCS: Failed to create rescan file (err %d)\n", rc);
		pr_warn("HVCS: Failed to create rescan file (err %d)\n", rc);

	return 0;
}
+2 −2
Original line number Diff line number Diff line
@@ -2843,7 +2843,7 @@ 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",
		pr_warn("%s: '%s' is using deprecated serial flags (with no effect): %.8x\n",
			__func__, get_task_comm(comm, current), flags);
}