Staging: keucr driver: fix uninitialized variable & proper memset length
authorKonstantin Katuev <kkatuev@gmail.com>
Fri, 29 Oct 2010 01:18:18 +0000 (12:18 +1100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 11 Nov 2010 00:33:57 +0000 (16:33 -0800)
commit307ae1d3d05e0379211277cc652c462d36873984
tree11955fca2423d6843977d885c110c1504c97986c
parentc3444e50b211f0c7b680a115fe1485694493dc82
Staging: keucr driver: fix uninitialized variable & proper memset length

There was commented out transfer_flags initialization.
And i think memset should fill entire structure, not only length of
pointer to it.

This makes the driver work properly now on my hardware.

Signed-off-by: Konstantin Katuev <kkatuev@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/keucr/init.c
drivers/staging/keucr/ms.c
drivers/staging/keucr/msscsi.c
drivers/staging/keucr/sdscsi.c
drivers/staging/keucr/smilsub.c
drivers/staging/keucr/transport.c