PATCH 1/2: check buffer length to avoid memory overflow PATCH 2/2: beautify source code "PATCH 2/2" is made based on "PATCH 1/2" please apply "PATCH 1/2" firstly, and then apply "PATCH 2/2" total stat (2 patches together): --- drivers/usb/host/uhci-debug.c | 178 +++++++++++++++++++++++++++-------------- drivers/usb/host/uhci-hcd.c | 31 ++++--- drivers/usb/host/uhci-hub.c | 6 +- drivers/usb/host/uhci-q.c | 2 +- 4 files changed, 140 insertions(+), 77 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html