staging: usbip: replace pr_warning() with pr_warn()
PATCH 1/1 staging: usbip: replace pr_warning() with pr_warn()
pr_warn() is preferred over pr_warning().
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/usbip/usbip_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/usbip/usbip_event.c +1 -1
@@ -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
Greg KH
maintainerQuoted 1 line · navin patidar
pr_warn()is preferred overpr_warning().
And dev_warn() is preferred over both of them, can you convert the code to use that instead?
thanks,
greg k-h