Files
kernel_arpi/include/linux
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-05-27 12:42:16 -07:00
2015-05-31 13:40:53 +02:00
2012-12-02 00:05:12 +00:00
2015-06-02 08:33:34 -06:00
2015-04-17 09:03:53 -04:00
2015-06-01 14:35:56 -06:00
2015-05-06 11:58:57 +01:00
2014-12-19 22:55:06 +01:00
2014-04-01 23:19:14 -04:00
2015-06-24 17:49:45 -07:00
2015-06-01 14:33:35 +02:00
2015-06-19 15:18:28 +02:00
2015-06-20 19:14:31 +02:00
2015-03-25 11:44:52 +01:00
2015-06-24 17:49:41 -07:00
2014-10-09 22:25:58 -04:00
2015-05-20 00:25:25 -07:00
2014-01-27 21:02:39 -08:00
2015-06-25 04:20:04 -04:00
2012-12-11 17:22:27 -08:00
2015-06-05 10:58:34 -06:00
2015-06-19 01:18:14 +02:00
2015-06-12 11:36:30 +02:00
2015-06-10 19:14:04 +08:00
2015-05-27 12:58:04 -07:00
2015-05-26 15:23:23 +02:00
2015-06-25 01:13:43 +02:00
2015-06-29 10:49:51 -07:00
2015-04-11 15:53:35 -04:00
2015-06-25 17:00:40 -07:00
2005-04-16 15:20:36 -07:00
2015-06-25 17:00:39 -07:00
2010-11-29 08:55:25 +11:00
2015-05-29 17:21:45 -05:00
2015-06-12 17:26:57 -07:00
2015-06-25 17:00:37 -07:00