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