]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] UEAGLE : cmv name bug (was cosmetic)
authormatthieu castet <castet.matthieu@free.fr>
Wed, 18 Jan 2006 06:39:27 +0000 (07:39 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 1 Feb 2006 01:23:41 +0000 (17:23 -0800)
commit9d1e070aea6ed1a1aa3fc412535ca8df02e11c1a
tree52d27ebf44609f4d4083596919f3e11395fb5e40
parented9d007ba7de6f225c403ab6b3d7ca28da82d10c
[PATCH] UEAGLE : cmv name bug (was cosmetic)

this patch correct a possible bug with cmv_name being static. If there
is 2 modems and the driver is scheduled when filling cmv_name this could
result with garbage in cmv_name. We allocate cmv_name on the stack but
with a small size in order to avoid that.

Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/ueagle-atm.c