staging/ft1000-usb: fix build warnings
authorArnd Bergmann <arnd@arndb.de>
Thu, 30 Sep 2010 08:24:09 +0000 (10:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Oct 2010 15:50:14 +0000 (08:50 -0700)
commit7cfd8a3720c0d266e402c5f6c688a63c213491df
tree23c95cb74116b157671e7652f7f2b281a321a598
parent4fea0749b19a1df25482453b45d2a3d69c1670dc
staging/ft1000-usb: fix build warnings

This lets us see clearer when stuff breaks.

Most of the changes are fixes for casts between int and pointer
that don't work on 64 bit.

The ioctl function uses a large amount of stack, which gets
fixed by allocating the buffer dynamically.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ft1000/ft1000-usb/ft1000_chdev.c
drivers/staging/ft1000/ft1000-usb/ft1000_download.c
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.c
drivers/staging/ft1000/ft1000-usb/ft1000_usb.h