Skip to contentSkip to conversation

cxacru: Fix printk format flag in error message

PATCH Applied Simon Arlott 2 participants 2 messages Jul 12, 2008 – Aug 6, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxacru: Fix printk format flag in error message

"#%x" should have been "%#x"

---
 drivers/usb/atm/cxacru.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/usb/atm/cxacru.c +1 -1
index 5ea3093..2ba43c4 100644
@@ -602,7 +602,7 @@ static int cxacru_cm_get_array(struct cxacru_data *instance, enum cxacru_cm_requ
 			offd = le32_to_cpu(buf[offb++]);
 			if (offd >= size) {
 				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);
 				ret = -EIO;
 				goto cleanup;
Signature · 4 lines
1.5.6.1

-- 
Simon Arlott
#1 lore raw

patch usb-cxacru-fix-printk-format-flag-in-error-message.patch added to gregkh-2.6 tree

This is a note to let you know that I've just added the patch titled

Subject: USB: cxacru: Fix printk format flag in error message

to my gregkh-2.6 tree. Its filename is

usb-cxacru-fix-printk-format-flag-in-error-message.patch

This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/

Quoted 1 line

From [email protected] Wed Aug 6 15:50:52 2008

From: Simon Arlott <[email protected]>
Date: Sat, 12 Jul 2008 22:19:48 +0100
Subject: USB: cxacru: Fix printk format flag in error message
To: Greg Kroah-Hartman <[email protected]>
Cc: Linux Kernel Mailing List <[email protected]>
Message-ID: <[email protected]>

"#%x" should have been "%#x"

---
 drivers/usb/atm/cxacru.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/atm/cxacru.c +1 -1
@@ -602,7 +602,7 @@ static int cxacru_cm_get_array(struct cx
 			offd = le32_to_cpu(buf[offb++]);
 			if (offd >= size) {
 				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);
 				ret = -EIO;
 				goto cleanup;

Patches currently in gregkh-2.6 which might be from [email protected] are

usb.current/usb-move-usb-mon-up-to-misc-options-in-kconfig.patch usb.current/usb-cxacru-fix-printk-format-flag-in-error-message.patch