]> err.no Git - linux-2.6/commit
USB: Fix debug output of ark3116
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Thu, 17 May 2007 15:16:44 +0000 (17:16 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 May 2007 06:45:50 +0000 (23:45 -0700)
commitb268f484f9d7ce91301091e0fb2c80e9e8caa3df
tree8595513257aac007c5d4329fedaee37d8016a803
parent09b7002d68cfa1c45cc413a0c7cca399c25a57c6
USB: Fix debug output of ark3116

Fix debug output. Previously, it would output "0xFFFFFFB0" on 32-bit
archs (and probably "0xFFFFFFFFFFFFFFB0" on 64-bits), because buf is
taken as signed char, which is promoted to signed int, while %x always
expects an unsigned int.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ark3116.c