Commit 230ffc75 authored by Simon Arlott's avatar Simon Arlott Committed by Greg Kroah-Hartman

USB: cxacru: Fix printk format flag in error message

"#%x" should have been "%#x"
Signed-off-by: default avatarSimon Arlott <simon@fire.lp0.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 51cdc1c1
...@@ -602,7 +602,7 @@ static int cxacru_cm_get_array(struct cxacru_data *instance, enum cxacru_cm_requ ...@@ -602,7 +602,7 @@ static int cxacru_cm_get_array(struct cxacru_data *instance, enum cxacru_cm_requ
offd = le32_to_cpu(buf[offb++]); offd = le32_to_cpu(buf[offb++]);
if (offd >= size) { if (offd >= size) {
if (printk_ratelimit()) if (printk_ratelimit())
usb_err(instance->usbatm, "wrong index #%x in response to cm #%x\n", usb_err(instance->usbatm, "wrong index %#x in response to cm %#x\n",
offd, cm); offd, cm);
ret = -EIO; ret = -EIO;
goto cleanup; goto cleanup;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment