]> git.baikalelectronics.ru Git - kernel.git/commit
USB: omninet: use kzalloc for private data
authorJohan Hovold <jhovold@gmail.com>
Tue, 16 Apr 2013 16:01:19 +0000 (18:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2013 17:05:34 +0000 (10:05 -0700)
commit157947575f7044c22bf29a34a066bd37cab628c1
treeac5422619e6f43b38bd29236c436b627e057f01a
parent4c79b9bceb8e81689370e0c410297491cb465331
USB: omninet: use kzalloc for private data

Make sure the port private data, which contains the write sequence
number, is cleared at allocation.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/omninet.c