lkml.org 
[lkml]   [2017]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 28/35] drivers/rapidio: Convert remaining use of pr_warning to pr_warn
Date
To enable eventual removal of pr_warning

This makes pr_warn use consistent for drivers/rapidio

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

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

diff --git a/drivers/rapidio/rio-sysfs.c b/drivers/rapidio/rio-sysfs.c
index eda41563d06d..945c4b1d9717 100644
--- a/drivers/rapidio/rio-sysfs.c
+++ b/drivers/rapidio/rio-sysfs.c
@@ -278,8 +278,8 @@ int rio_create_sysfs_dev_files(struct rio_dev *rdev)
}

if (err)
- pr_warning("RIO: Failed to create attribute file(s) for %s\n",
- rio_name(rdev));
+ pr_warn("RIO: Failed to create attribute file(s) for %s\n",
+ rio_name(rdev));

return err;
}
--
2.10.0.rc2.1.g053435c
\
 
 \ /
  Last update: 2017-02-17 08:15    [W:0.536 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site