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-05-22 14:53:07 -04:00
2016-02-23 21:27:02 -05:00
2016-04-18 11:23:24 +02:00
2015-11-30 18:51:20 -05:00
2016-04-15 16:53:14 -04:00
2016-03-15 15:24:44 -07:00
2016-05-09 22:18:42 -04:00
2016-04-15 16:53:11 -04:00
2016-04-25 22:02:40 -04:00
2015-11-09 17:11:57 -08:00
2016-04-25 16:20:49 -04:00
2016-05-05 21:02:17 -04:00
2016-05-17 21:12:50 -04:00
2016-04-15 16:53:14 -04:00
2016-03-19 10:05:34 -07:00
2016-04-11 16:57:09 -04:00
2016-04-15 16:53:23 -04:00
2016-02-23 21:27:02 -05:00
2016-04-18 11:23:24 +02:00
2015-11-09 17:15:52 -08:00
2015-03-24 17:08:29 -07:00
2016-05-17 21:12:50 -04:00
2016-05-05 21:03:52 -04:00
2016-05-22 14:53:07 -04:00
2016-04-15 16:53:11 -04:00
2016-02-25 21:11:42 -05:00
2015-05-31 18:06:28 -07:00
2016-04-15 16:53:18 -04:00
2016-05-18 16:38:59 -07:00
2016-02-23 21:27:02 -05:00
2016-04-11 16:57:09 -04:00
2014-11-24 14:45:27 +01:00
2016-03-18 15:35:23 -04:00
2015-10-07 10:24:48 -07: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
2016-01-08 12:51:03 -05:00
2015-04-27 10:05:55 -07:00
2016-06-14 21:17:22 -04:00
2015-08-07 15:03:42 +02:00
2013-11-26 11:09:07 +01:00
2014-10-20 16:21:33 +02:00
2014-10-20 16:21:33 +02:00
2015-12-03 09:32:33 -08:00
2015-05-31 18:06:28 -07:00
2016-02-23 21:27:02 -05:00
2015-04-09 18:08:31 -07:00
2015-05-31 18:06:28 -07:00
2015-05-31 18:06:28 -07:00
2015-04-17 10:13:56 -07:00
2016-04-11 16:57:09 -04:00
2015-11-25 22:08:55 -05:00
2015-11-25 22:08:52 -05:00
2015-02-02 09:57:45 -08:00
2013-06-26 18:32:47 -07:00
2014-10-20 16:21:33 +02:00
2015-04-14 09:50:27 -07:00
2016-04-11 16:57:09 -04:00
2015-02-02 09:57:46 -08:00
2016-04-11 16:57:09 -04:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:37 +02:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2016-05-10 22:01:07 -04:00
2014-11-24 14:45:27 +01:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2016-02-23 21:27:02 -05:00
2015-11-09 16:32:14 -08:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2016-02-25 21:16:49 -05:00
2013-04-09 14:13:16 -04:00
2016-02-25 21:16:49 -05:00
2013-04-09 14:13:16 -04:00
2013-11-26 11:09:07 +01:00
2016-03-18 20:06:46 -07:00
2016-02-23 21:27:02 -05:00
2016-05-10 21:58:08 -04:00
2016-04-29 19:08:24 -04:00
2015-08-12 13:14:57 -07:00
2015-08-12 13:14:57 -07:00
2016-02-25 21:10:53 -05:00
2015-02-02 09:57:46 -08:00
2015-11-20 11:39:03 -05:00
2016-02-26 17:26:02 -05:00
2015-12-11 11:52:24 -08:00
2015-06-02 17:24:54 -07:00
2013-04-09 14:13:27 -04:00
2016-05-16 11:14:29 -04:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2014-10-20 16:21:33 +02:00
2016-04-15 16:53:14 -04:00
2016-01-27 20:36:10 +08:00
2016-04-11 16:57:09 -04:00
2016-02-05 16:29:28 -06:00
2014-10-20 16:21:33 +02:00
2016-04-11 16:57:09 -04:00
2015-11-25 22:12:51 -05:00
2015-08-26 07:23:04 -07:00
2014-03-27 08:26:31 -07:00
2016-02-05 16:29:28 -06:00
2014-10-20 16:21:33 +02:00
2013-04-09 14:13:15 -04:00
2016-03-05 17:07:46 -05:00
2013-04-15 14:30:44 -06:00
2014-11-24 14:45:27 +01:00
2014-07-17 22:07:35 +02:00
2015-05-31 18:06:28 -07:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2015-05-31 18:06:28 -07:00
2014-11-24 20:01:28 +01:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2015-11-12 07:06:18 -05:00
2016-02-23 21:27:02 -05:00
2015-05-31 18:06:28 -07:00
2016-04-30 09:25:26 -07:00
2015-05-31 18:06:28 -07:00
2016-03-01 20:06:49 -05:00
2016-03-18 15:49:44 -04:00
2016-05-10 21:26:14 -04:00
2016-05-31 22:46:53 -04:00
2015-12-02 16:29:19 -05:00
2016-06-08 23:08:04 -04:00
2014-11-12 11:16:12 +01:00
2016-05-22 14:52:45 -04:00
2015-02-04 08:00:24 -08:00
2014-11-12 11:16:05 +01:00
2014-04-24 13:44:54 -04:00
2016-02-19 10:52:45 -05:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2016-03-14 21:05:04 -04:00
2016-04-15 16:51:53 -04:00
2014-06-06 16:08:16 -07:00
2016-04-15 16:53:07 -04:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2015-08-07 14:28:45 +02:00
2015-07-14 13:20:09 -04:00
2016-04-05 06:56:40 -04:00
2014-11-12 11:15:54 +01:00
2015-10-21 14:42:38 -06:00
2016-06-01 22:07:47 -04:00
2016-06-01 22:07:47 -04:00
2016-04-11 16:57:09 -04:00
2015-12-18 19:29:50 -08:00
2016-03-14 15:50:25 -04:00
2014-10-20 16:21:33 +02:00
2016-02-23 21:27:02 -05:00
2014-10-20 16:21:33 +02:00
2015-01-20 19:43:24 +01: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
2016-03-14 15:50:16 -04:00
2014-05-28 12:16:28 +02:00
2016-04-11 16:57:09 -04:00
2014-11-20 09:11:15 +01:00
2015-08-10 23:07:05 -04:00
2014-10-20 16:21:33 +02:00
2015-05-31 18:06:28 -07:00
2016-04-11 16:57:09 -04:00
2016-04-11 16:57:09 -04:00
2014-11-24 14:45:27 +01:00
2015-07-23 13:07:04 -07:00
2015-12-10 12:57:04 -05:00
2015-12-10 12:57:04 -05:00
2015-02-02 09:57:46 -08:00
2013-04-09 14:13:15 -04:00
2015-08-07 14:28:45 +02:00
2015-05-31 18:06:28 -07:00
2015-02-02 09:57:45 -08:00
2015-09-08 18:03:49 +01:00
2013-11-26 11:09:07 +01:00