Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1583122

[PATCH 22/35] drivers/media: Convert remaining use of pr_warning to pr_warn

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH 22/35] drivers/media: Convert remaining use of pr_warning to pr_warn
Date 2017-02-17 08:20 +0100
Message-ID <tbKZH-176-11@gated-at.bofh.it> (permalink)
References <tbKZH-176-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/media

Prior to this patch, there was 1 use of pr_warning and
310 uses of pr_warn in drivers/media

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/media/platform/sh_vou.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/platform/sh_vou.c b/drivers/media/platform/sh_vou.c
index ef2a519bcd4c..992d61a8b961 100644
--- a/drivers/media/platform/sh_vou.c
+++ b/drivers/media/platform/sh_vou.c
@@ -813,8 +813,8 @@ static u32 sh_vou_ntsc_mode(enum sh_vou_bus_fmt bus_fmt)
 {
 	switch (bus_fmt) {
 	default:
-		pr_warning("%s(): Invalid bus-format code %d, using default 8-bit\n",
-			   __func__, bus_fmt);
+		pr_warn("%s(): Invalid bus-format code %d, using default 8-bit\n",
+			__func__, bus_fmt);
 	case SH_VOU_BUS_8BIT:
 		return 1;
 	case SH_VOU_BUS_16BIT:
-- 
2.10.0.rc2.1.g053435c

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 22/35] drivers/media: Convert remaining use of pr_warning to pr_warn Joe Perches <joe@perches.com> - 2017-02-17 08:20 +0100

csiph-web