Skip to contentSkip to conversation

staging: usbip: replace pr_warning() with pr_warn()

PATCH Superseded navin patidar 2 participants 2 messages Jun 21, 2013 – Jun 24, 2013 Staging

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: usbip: replace pr_warning() with pr_warn()

pr_warn() is preferred over pr_warning().

---
 drivers/staging/usbip/usbip_event.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/usbip/usbip_event.c +1 -1
index 82123be..64933b9 100644
@@ -85,7 +85,7 @@ int usbip_start_eh(struct usbip_device *ud)
 
 	ud->eh = kthread_run(event_handler_loop, ud, "usbip_eh");
 	if (IS_ERR(ud->eh)) {
-		pr_warning("Unable to start control thread\n");
+		pr_warn("Unable to start control thread\n");
 		return PTR_ERR(ud->eh);
 	}
 
Signature · 1 line
1.7.10.4
maintainer
#1 lore raw
Quoted 1 line · navin patidar

pr_warn() is preferred over pr_warning().

And dev_warn() is preferred over both of them, can you convert the code to use that instead?

thanks,

greg k-h