aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/intelliport2.bin.ihex
diff options
context:
space:
mode:
authorIan Munsie <imunsie@au.ibm.com>2010-03-02 19:00:37 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 16:21:31 -0400
commit0df4d8ef77f7e1251763d429f5ddbf5373961714 (patch)
tree5f99a500f7708f2675013c728e0e9998a7b941e4 /firmware/intelliport2.bin.ihex
parentfa4dc36482a5236c92c589cdbc0a42ff5c945b6b (diff)
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>
Diffstat (limited to 'firmware/intelliport2.bin.ihex')
0 files changed, 0 insertions, 0 deletions