]> git.baikalelectronics.ru Git - kernel.git/commit
USB: usbmon: mask seconds properly in text API
authorPete Zaitcev <zaitcev@redhat.com>
Sat, 20 Feb 2010 06:55:57 +0000 (23:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:55:14 +0000 (14:55 -0800)
commit75944b08f7db0546320efe191f072b8031d71995
treee64240fd1f2f189ebb638517783d41434b93fed9
parentaf41a97d9c5e132e8700d29df67c05b84aafd973
USB: usbmon: mask seconds properly in text API

The code does not implement the comment, so timestamps for long traces
become confusing instead of wrapping neatly as expected. This was actually
observed. Fortunately for API being in debugfs, we can just fix this instead
of staying bug-for-bug compatible. Double fortunately, the stable binary
API is not affected.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/mon/mon_text.c