James Bottomley 8beb330044 53c700: fix BUG on untagged commands
The untagged command case in the 53c700 driver has been broken since
host wide tags were enabled because the replaced scsi_find_tag()
function had a special case for the tag value SCSI_NO_TAG to retrieve
sdev->current_cmnd.  The replacement function scsi_host_find_tag() has
no such special case and returns NULL causing untagged commands to
trigger a BUG() in the driver.  Inspection shows that the 53c700 is the
only driver using this SCSI_NO_TAG case, so a local fix in the driver
suffices to fix this problem globally.

Fixes: 64d513ac31b - "scsi: use host wide tags by default"
Cc: stable@vger.kernel.org	# 4.4+
Reported-by: Helge Deller <deller@gmx.de>
Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: James Bottomley <jejb@linux.vnet.ibm.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-06-14 21:17:22 -04:00
..
2016-02-23 21:27:02 -05:00
2016-04-18 11:23:24 +02:00
2016-03-15 15:24:44 -07:00
2016-04-25 16:20:49 -04:00
2016-04-18 11:23:24 +02:00
2016-05-17 21:12:50 -04:00
2016-05-22 14:53:07 -04:00
2016-02-25 21:11:42 -05:00
2016-05-18 16:38:59 -07:00
2016-03-18 15:35:23 -04:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2016-06-14 21:17:22 -04:00
2015-12-03 09:32:33 -08:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2016-02-23 21:27:02 -05:00
2016-05-10 21:58:08 -04:00
2016-02-25 21:10:53 -05:00
2015-06-02 17:24:54 -07:00
2013-04-09 14:13:27 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2013-04-09 14:13:15 -04:00
2014-07-17 22:07:35 +02:00
2014-11-24 20:01:28 +01:00
2015-11-12 07:06:18 -05:00
2016-02-23 21:27:02 -05:00
2016-03-14 15:50:25 -04:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2016-01-26 17:24:16 -08:00
2014-11-12 11:15:57 +01:00
2016-04-25 22:08:16 -04:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00
2014-11-20 09:11:15 +01:00
2015-07-23 13:07:04 -07:00
2013-04-09 14:13:15 -04:00