]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: fix visor leaks
authorPete Zaitcev <zaitcev@redhat.com>
Wed, 21 Jun 2006 22:03:40 +0000 (15:03 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 23:03:21 +0000 (16:03 -0700)
commit2352bf8f066b9d815ea2dfa78ee4674ef2556131
treee866962fc6f316111ad5f8d767b40b9d3890885f
parent4136d643e41b7f862c82c01c830b151ce4b1c47a
[PATCH] USB: fix visor leaks

This patch fixes blatant leaks in visor driver and makes it report
mode sensible things in ->write_room (this is only needed if your visor
is a terminal though).

It is made to fit into 80 columns with a temporary variable.
Might even save a few instructions...

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