mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 11:23:09 -04:00
driver: staging: wlan-ng: switched to pr_warn
changed printk(KERN_WARNING .. to pr_warn Signed-off-by: Sherif Shehab Aldin <shehabaldin.sherif@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a03742ac96
commit
baa8a6c008
@@ -714,10 +714,9 @@ static int usbctlx_rrid_completor_fn(struct usbctlx_completor *head)
|
||||
|
||||
/* Validate the length, note body len calculation in bytes */
|
||||
if (rridresult.riddata_len != complete->riddatalen) {
|
||||
printk(KERN_WARNING
|
||||
"RID len mismatch, rid=0x%04x hlen=%d fwlen=%d\n",
|
||||
rridresult.rid,
|
||||
complete->riddatalen, rridresult.riddata_len);
|
||||
pr_warn("RID len mismatch, rid=0x%04x hlen=%d fwlen=%d\n",
|
||||
rridresult.rid,
|
||||
complete->riddatalen, rridresult.riddata_len);
|
||||
return -ENODATA;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user