Dave Gordon
386ecb1216
drivers/scsi/scsi_debug.c: resolve sg buffer const-ness issue
...
do_device_access() takes a separate parameter to indicate the direction of
data transfer, which it used to use to select the appropriate function out
of sg_pcopy_{to,from}_buffer(). However these two functions now have
So this patch makes it bypass these wrappers and call the underlying
function sg_copy_buffer() directly; this has the same calling style as
do_device_access() i.e. a separate direction-of-transfer parameter and no
pointers-to-const, so skipping the wrappers not only eliminates the
warning, it also make the code simpler :)
[akpm@linux-foundation.org: fix very broken build]
Signed-off-by: Dave Gordon <david.s.gordon@intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2015-06-30 19:44:59 -07:00
..
2015-03-17 16:23:21 +05:30
2015-06-08 14:33:26 +03:00
2015-04-22 18:33:48 +03:00
2015-05-26 09:18:29 +05:30
2015-05-22 18:58:44 +09:00
2015-06-01 15:10:09 +02:00
2015-06-22 12:25:04 +01:00
2015-06-01 11:31:12 +01:00
2015-02-01 11:50:35 -08:00
2015-06-27 12:44:34 -07:00
2015-06-26 14:51:15 -07:00
2015-06-24 16:49:49 -07:00
2015-06-24 16:49:49 -07:00
2015-06-18 09:20:48 +02:00
2015-05-27 12:42:16 -07:00
2015-06-18 21:14:33 +02:00
2015-06-23 14:08:54 -07:00
2015-06-03 14:13:41 +09:00
2015-06-01 15:48:12 +02:00
2015-06-29 09:44:45 -07:00
2015-05-23 22:43:28 +02:00
2015-04-22 08:00:41 +10:00
2015-06-22 11:19:56 +01:00
2015-06-19 15:18:28 +02:00
2015-06-01 17:57:34 +02:00
2015-05-31 13:40:53 +02:00
2015-06-21 21:52:24 +02:00
2015-06-04 16:56:01 -04:00
2015-06-02 10:47:03 +09:00
2015-06-29 10:34:42 -07:00
2013-12-02 11:24:18 +00:00
2012-12-02 00:05:12 +00:00
2012-03-16 10:38:24 -04:00
2010-12-06 15:58:43 -05:00
2015-06-02 08:40:20 -06:00
2015-06-25 16:00:17 -07:00
2015-06-23 15:47:35 +01:00
2015-06-21 21:55:33 +02:00
2015-06-02 08:33:34 -06:00
2015-04-17 09:03:53 -04:00
2015-06-26 10:11:58 -04:00
2015-06-25 16:00:17 -07:00
2015-06-01 14:35:56 -06:00
2015-06-26 12:35:01 -07:00
2015-06-24 17:49:41 -07:00
2015-06-15 15:53:50 -07:00
2015-06-10 23:33:58 -07:00
2014-09-04 22:04:42 -04:00
2013-02-21 17:22:16 -08:00
2014-01-23 16:36:56 -08:00
2015-05-24 12:31:33 -07:00
2015-01-20 14:02:58 -07:00
2015-06-18 16:54:28 -04:00
2015-06-26 19:50:04 -07:00
2015-05-06 11:58:57 +01:00
2015-06-02 16:56:42 +02:00
2014-01-21 20:18:26 -08:00
2015-06-25 17:00:38 -07:00
2015-06-25 17:00:38 -07:00
2015-06-29 10:34:42 -07:00
2014-07-03 11:32:43 +01:00
2015-06-24 17:49:39 -07:00
2015-05-10 19:15:52 +02:00
2015-06-25 17:00:38 -07:00
2008-06-04 14:56:12 +01:00
2015-04-13 10:19:30 +02:00
2015-05-23 00:49:04 +02:00
2015-06-19 01:18:02 +02:00
2015-05-28 11:05:20 +09:30
2015-05-26 15:26:43 +02:00
2015-06-22 15:49:30 +08:00
2013-05-12 14:16:21 +02:00
2015-05-10 22:18:24 -04:00
2013-08-18 17:39:55 -07:00
2014-12-19 22:55:06 +01:00
2014-01-21 16:19:41 -08:00
2015-06-25 09:21:49 +05:30
2015-06-12 11:33:52 +02:00
2015-06-25 09:06:57 +02:00
2014-10-03 14:55:48 -07:00
2014-09-29 00:04:55 -04:00
2015-06-29 10:34:42 -07:00
2015-06-10 08:01:20 -06:00
2014-04-03 16:21:06 -07:00
2012-10-13 10:46:48 +01:00
2015-05-05 19:24:42 -04:00
2015-06-12 17:01:42 -07:00
2015-05-28 15:41:45 -07:00
2014-04-01 23:19:14 -04:00
2012-10-13 10:46:48 +01:00
2014-01-21 23:17:20 -08:00
2015-06-24 17:49:45 -07:00
2009-12-17 10:58:17 -05:00
2015-06-25 16:00:17 -07:00
2015-05-31 15:51:24 +09:00
2015-06-24 17:49:38 -07:00
2014-10-09 22:25:52 -04:00
2015-06-30 19:44:56 -07:00
2015-05-31 11:40:14 +09:00
2013-04-30 10:09:06 +02:00
2015-06-01 14:33:35 +02:00
2015-06-19 15:18:28 +02:00
2015-06-01 10:56:31 +09:00
2015-05-31 13:40:53 +02:00
2015-06-15 17:23:03 -07:00
2015-06-23 06:14:04 -07:00
2015-06-01 16:50:52 -07:00
2015-06-15 19:49:22 -07:00
2015-06-24 02:15:54 -07:00
2015-06-26 19:50:04 -07:00
2014-05-14 16:40:04 -07:00
2015-06-23 18:27:19 -07:00
2015-06-03 12:02:00 +02:00
2015-06-11 09:01:55 +02:00
2012-12-09 00:20:28 -05:00
2015-06-20 19:14:31 +02:00
2015-06-16 10:10:16 +02:00
2015-06-15 14:36:01 -04:00
2015-06-10 11:31:14 +02:00
2007-07-31 15:39:40 -07:00
2014-12-13 13:33:07 +01:00
2015-06-30 19:44:57 -07:00
2014-10-14 15:05:34 -04:00
2015-06-18 16:54:28 -04:00
2015-06-24 17:49:46 -07:00
2015-06-05 17:26:35 +02:00
2015-05-26 12:40:17 +02:00
2015-06-19 10:03:12 +02:00
2015-06-25 16:49:21 -07:00
2015-06-26 11:23:38 -04:00
2015-05-19 23:58:43 +02:00
2015-06-24 15:09:40 -07:00
2015-06-27 13:26:03 -07:00
2015-06-11 22:19:45 +05:30
2015-05-28 12:21:08 +02:00
2015-05-24 11:15:54 -07:00
2015-06-30 19:44:55 -07:00
2015-06-25 16:00:17 -07:00
2015-04-14 16:49:00 -07:00
2014-10-22 16:14:04 -06:00
2015-03-25 11:44:52 +01:00
2015-06-24 17:49:41 -07:00
2015-06-30 19:44:56 -07:00
2014-10-09 22:25:58 -04:00
2015-06-24 17:49:44 -07:00
2015-06-30 19:44:56 -07:00
2015-06-26 15:59:26 -07:00
2015-06-26 15:07:37 -07:00
2015-03-12 18:46:08 -07:00
2015-05-20 00:25:25 -07:00
2015-06-16 14:35:06 +08:00
2014-01-27 21:02:39 -08:00
2015-06-25 04:20:04 -04:00
2015-05-12 18:43:55 -04:00
2015-06-15 17:23:03 -07:00
2015-06-12 14:16:46 +02:00
2015-06-18 21:14:31 +02:00
2015-06-12 14:10:12 +02:00
2015-06-18 21:14:31 +02:00
2015-06-24 17:49:40 -07:00
2012-12-11 17:22:27 -08:00
2015-06-05 10:58:34 -06:00
2015-06-02 16:31:25 +01:00
2015-06-24 11:18:48 +10:00
2015-05-26 19:55:56 -07:00
2015-06-24 17:49:43 -07:00
2013-03-29 17:54:33 -07:00
2015-06-02 08:33:33 -06:00
2015-06-01 07:08:18 +09:00
2014-01-23 16:36:55 -08:00
2012-10-13 10:46:48 +01:00
2013-03-01 23:51:07 -05:00
2015-06-24 16:49:49 -07:00
2015-06-12 15:26:45 -05:00
2015-05-29 07:39:34 +10:00
2015-06-26 14:02:43 -07:00
2015-05-27 00:27:35 -04:00
2015-05-30 02:17:15 +02:00
2015-06-19 01:18:14 +02:00
2015-06-29 10:34:42 -07:00
2015-06-10 16:15:54 +02:00
2013-08-19 21:22:34 -07:00
2015-06-07 15:57:43 +02:00
2015-06-25 17:00:38 -07:00
2015-06-15 14:40:49 +02:00
2015-03-31 12:01:19 -04:00
2015-06-12 11:36:30 +02:00
2015-06-05 11:40:45 +01:00
2015-05-28 10:47:45 -05:00
2008-09-02 19:21:38 -07:00
2010-02-08 18:19:41 -06:00
2015-06-10 19:14:04 +08:00
2015-05-27 12:58:04 -07:00
2015-06-22 18:57:44 -07:00
2015-05-27 12:59:31 -07:00
2015-06-22 18:57:44 -07:00
2014-10-20 10:11:29 +02:00
2012-10-13 10:46:48 +01:00
2014-11-10 16:45:43 -05:00
2015-05-26 15:23:23 +02:00
2006-07-13 13:21:35 -07:00
2015-06-25 01:13:43 +02:00
2015-06-23 06:56:18 -07:00
2015-06-30 19:44:59 -07:00
2015-06-27 13:26:03 -07:00
2015-05-24 12:13:36 -07:00
2012-10-13 10:46:48 +01:00
2015-06-27 13:26:03 -07:00
2010-10-22 10:20:06 -07:00
2015-02-13 21:21:39 -08:00
2015-06-19 00:09:56 +02:00
2015-05-31 16:21:38 +09:00
2015-06-15 14:30:32 -07:00
2015-06-29 10:49:51 -07:00
2015-06-24 17:49:40 -07:00
2015-06-15 19:49:22 -07:00
2015-04-11 15:53:35 -04:00
2015-05-27 12:57:27 -07:00
2008-05-26 16:15:32 +02:00
2015-04-14 09:50:27 -07:00
2006-12-07 02:14:08 +01:00
2015-06-25 17:00:38 -07:00
2015-05-30 17:04:36 -07:00
2015-06-25 17:00:40 -07:00
2009-04-10 15:48:52 +02:00
2005-04-16 15:20:36 -07:00
2015-06-26 14:02:43 -07:00
2011-03-15 00:43:46 +01:00
2015-04-17 09:04:07 -04:00
2015-06-25 17:00:39 -07:00
2012-09-13 16:47:34 +02:00
2015-05-23 01:22:35 -04:00
2010-05-27 09:12:51 -07:00
2015-06-23 14:18:07 -07:00
2015-06-12 11:15:49 +02:00
2015-06-12 11:15:49 +02:00
2015-06-19 15:18:28 +02:00
2014-07-18 11:49:57 +02:00
2015-04-22 17:06:49 +02:00
2015-05-27 15:22:15 +02:00
2010-11-29 08:55:25 +11:00
2015-05-29 17:21:45 -05:00
2015-06-15 16:02:52 -07:00
2015-03-12 18:46:08 -07:00
2015-06-12 17:26:57 -07:00
2015-06-29 11:10:56 -07:00
2015-05-21 17:26:22 -04:00
2015-06-02 08:40:20 -06:00
2015-06-25 17:00:37 -07:00