]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitccf02751aead7e0cc058d64e6f9415aeb8a6dcc2
tree23c95cb74116b157671e7652f7f2b281a321a598
parent458685caabe793b0a98050abb86ee7879673b529
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