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
..
2010-05-11 10:07:53 -07:00
2010-05-05 14:48:48 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 10:05:33 -07:00
2010-05-04 08:48:53 +02:00
2010-03-30 22:02:32 +09:00
2010-05-13 12:10:56 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:35:21 -07:00
2010-05-09 18:35:36 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-06 08:37:39 -07:00
2010-04-30 10:15:39 -07:00
2010-04-22 12:54:54 -07:00
2010-04-07 11:02:23 -07:00
2010-05-11 17:33:41 -07:00
2010-05-11 17:33:42 -07:00
2010-05-07 23:33:52 +02:00
2010-05-11 17:38:04 -07:00
2010-05-04 11:09:28 +02:00
2010-05-05 14:48:48 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-09 11:53:06 -07:00
2010-05-13 07:28:43 -07:00
2010-04-19 11:53:17 -07:00
2010-03-30 22:02:32 +09:00
2010-04-14 21:43:56 +09:30
2010-04-07 08:38:03 -07:00
2010-05-07 21:10:57 +10:00
2010-05-06 19:20:52 -03:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-13 12:58:55 +02:00
2010-04-24 11:31:26 -07:00
2010-05-15 12:48:10 -07:00
2010-05-05 15:25:12 -04:00
2010-05-11 10:11:40 -07:00
2010-03-30 22:02:32 +09:00
2010-04-28 01:07:29 -06:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-12 18:39:45 -07:00
2010-05-07 14:11:09 -07:00
2010-04-23 15:23:21 -04:00
2010-05-06 22:04:31 -04:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 15:24:34 +01:00
2010-04-07 08:38:05 -07:00
2010-05-12 09:32:26 +02:00
2010-03-30 22:02:32 +09:00
2010-05-05 12:15:57 -04:00
2010-05-13 12:10:56 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-28 01:25:43 -06:00
2010-04-12 17:26:14 +01:00
2010-05-20 13:21:30 -07:00
2010-03-30 22:02:32 +09:00
2010-04-07 08:38:03 -07:00
2010-03-30 22:02:32 +09:00
2010-05-20 13:21:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-12 18:04:04 +03:00
2010-05-11 17:33:42 -07:00
2010-04-22 07:34:05 -07:00
2010-03-30 22:02:32 +09:00
2010-04-24 11:31:25 -07:00
2010-05-12 11:18:14 +01:00
2010-03-30 22:02:32 +09:00
2010-05-07 14:01:17 -07:00