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


Groups > linux.kernel > #1583125

[PATCH 16/35] fmc: Convert remaining use of pr_warning to pr_warn

From Joe Perches <joe@perches.com>
Newsgroups linux.kernel
Subject [PATCH 16/35] fmc: Convert remaining use of pr_warning to pr_warn
Date 2017-02-17 08:20 +0100
Message-ID <tbKZH-176-7@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/fmc

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

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/fmc/fmc-fakedev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fmc/fmc-fakedev.c b/drivers/fmc/fmc-fakedev.c
index 941d0930969a..fc9ca763dd57 100644
--- a/drivers/fmc/fmc-fakedev.c
+++ b/drivers/fmc/fmc-fakedev.c
@@ -147,7 +147,7 @@ static void ff_work_fn(struct work_struct *work)
 
 	ff = ff_dev_create();
 	if (IS_ERR(ff)) {
-		pr_warning("%s: can't re-create FMC devices\n", __func__);
+		pr_warn("%s: can't re-create FMC devices\n", __func__);
 		return;
 	}
 	ret = fmc_device_register_n(ff->fmc, ff_nr_dev);
-- 
2.10.0.rc2.1.g053435c

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


Thread

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

csiph-web