kernel-ark/drivers/usb/storage
Ian Munsie 0df4d8ef77 USB: Remove large struct from the stack in USB storage isd200 driver
The compiler throws the following warning when compiling for a PowerPC 64
bit machine:

drivers/usb/storage/isd200.c:580: warning: the frame size of 2208 bytes is larger than 2048 bytes

There is a struct scsi_device which is placed on the stack and is
largely responsible for such wastage. The struct is just a dummy struct
filled with NULLs and set as the scsi_cmnd->device to make the
usb_stor_Bulk_transport function happy.

This patch makes the struct static, so that it is never placed onto the
stack and silences the compiler warning.

Signed-off-by: Ian Munsie <imunsie@au.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-20 13:21:31 -07:00
..
alauda.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cypress_atacb.c
datafab.c
debug.c
debug.h
freecom.c
initializers.c USB: usb-storage fails to attach to Huawei Datacard cdrom device 2009-09-23 06:46:32 -07:00
initializers.h
isd200.c USB: Remove large struct from the stack in USB storage isd200 driver 2010-05-20 13:21:31 -07:00
jumpshot.c
karma.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
Kconfig
libusual.c
Makefile
onetouch.c USB: storage: onetouch: unnecessary GFP_ATOMIC 2010-03-02 14:55:13 -08:00
option_ms.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
option_ms.h
protocol.c
protocol.h
scsiglue.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
scsiglue.h
sddr09.c
sddr55.c
shuttle_usbat.c USB: storage: fix misplaced parenthesis 2010-03-02 14:55:08 -08:00
sierra_ms.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sierra_ms.h
transport.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
transport.h
unusual_alauda.h
unusual_cypress.h
unusual_datafab.h
unusual_devs.h USB: Remove last bit of CONFIG_USB_BERRY_CHARGE 2010-03-19 07:24:22 -07:00
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_sddr09.h
unusual_sddr55.h
unusual_usbat.h
usb.c Lower USB storage settling delay to something more reasonable 2010-02-26 10:03:22 -08:00
usb.h USB: usb-storage: Associate the name of the interface with the scsi host 2009-12-11 11:55:13 -08:00
usual-tables.c