]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit81f58c67b1d71b3a1a6c2bb077844249790807c8
treeac5422619e6f43b38bd29236c436b627e057f01a
parent2bef64b89ae315e7935067ce8db901783deaf857
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