Hans de Goede 55ff8cfbc4 USB: uas: Reduce can_queue to MAX_CMNDS
The uas driver can never queue more then MAX_CMNDS (- 1) tags and tags
are shared between luns, so there is no need to claim that we can_queue
some random large number.

Not claiming that we can_queue 65536 commands, fixes the uas driver
failing to initialize while allocating the tag map with a "Page allocation
failure (order 7)" error on systems which have been running for a while
and thus have fragmented memory.

Cc: stable@vger.kernel.org
Reported-and-tested-by: Yves-Alexis Perez <corsac@corsac.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-18 09:19:02 -07:00
..
2016-03-16 17:45:56 -07:00
2016-03-01 16:38:16 -08:00
2016-03-17 13:47:50 -07:00
2016-02-01 12:27:18 -08:00
2016-03-17 13:53:25 -07:00
2016-03-14 14:22:03 +01:00
2016-03-17 12:34:54 -07:00
2016-03-16 08:36:55 -07:00
2016-03-17 13:38:00 -07:00
2016-01-20 17:30:20 -08:00
2016-03-17 13:47:50 -07:00
2016-03-04 18:06:49 -08:00
2016-03-17 13:53:25 -07:00
2016-03-16 18:27:32 -07:00
2016-01-20 18:42:30 -08:00
2016-03-15 21:58:58 -07:00
2016-03-17 13:47:50 -07:00
2016-03-17 13:53:25 -07:00
2016-03-11 16:34:18 -08:00
2016-03-17 13:53:25 -07:00
2016-01-27 20:36:09 +08:00
2016-03-17 13:53:25 -07:00
2016-01-22 18:04:28 -05:00
2016-03-05 12:22:41 -08:00
2016-03-14 17:08:41 +01:00
2016-03-17 13:53:25 -07:00
2016-03-04 12:12:08 +01:00
2016-03-17 12:34:54 -07:00
2016-02-26 12:47:32 +02:00
2016-03-17 13:53:25 -07:00
2016-03-17 13:05:09 -07:00
2016-03-16 18:37:20 -07:00
2016-02-07 23:17:59 -08:00
2016-01-25 09:42:23 +01:00