Christophe JAILLET c46d90cd7c drivers/rapidio/devices/rio_mport_cdev.c: fix error handling in 'rio_dma_transfer()'
In case of error, 'dma_map_sg()' returns 0, not a negative value.  There
is BUG_ON() in 'dma_map_sg_attrs()' which makes sure of that.

Link: http://lkml.kernel.org/r/d4235bd2b9274e99f6c86ea71b1fa1c7bd8d0c08.1505687047.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Christian K_nig <christian.koenig@amd.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-11-17 16:10:03 -08:00
..
2017-11-17 09:51:57 -08:00
2017-11-14 16:54:12 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 08:55:30 -08:00
2017-11-17 09:51:57 -08:00
2017-11-16 16:05:01 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 16:05:01 -08:00
2017-11-16 12:47:46 -08:00
2017-11-16 12:47:46 -08:00
2017-11-17 09:51:57 -08:00
2017-11-14 16:49:31 -08:00
2017-11-15 20:42:10 -08:00
2017-11-15 13:46:33 -08:00
2017-11-13 21:14:07 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 11:41:22 -08:00
2017-11-15 13:46:33 -08:00
2017-11-15 13:35:43 -08:00
2017-11-16 09:10:59 -08:00
2017-11-13 08:55:46 -08:00
2017-11-16 09:10:59 -08:00
2017-11-15 13:46:33 -08:00
2017-11-13 01:34:14 +01:00
2017-11-14 14:44:04 -08:00
2017-11-14 16:43:27 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 18:09:31 -08:00
2017-11-16 11:41:22 -08:00
2017-11-16 16:05:01 -08:00
2017-11-15 13:46:33 -08:00
2017-11-16 09:15:57 -08:00
2017-11-17 16:10:01 -08:00
2017-11-13 10:17:35 -08:00
2017-11-16 12:47:46 -08:00
2017-11-13 12:10:24 -08:00
2017-11-17 09:51:57 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 16:05:01 -08:00
2017-11-16 09:10:59 -08:00
2017-11-15 15:01:28 -08:00
2017-11-15 10:56:56 -08:00
2017-11-13 21:14:07 -08:00
2017-11-15 13:46:33 -08:00
2017-11-16 13:06:27 -08:00
2017-11-16 09:15:57 -08:00
2017-11-16 16:05:01 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 16:54:12 -08:00
2017-11-16 16:05:01 -08:00
2017-11-15 20:42:10 -08:00
2017-11-14 14:44:04 -08:00
2017-11-16 16:05:01 -08:00
2017-11-15 13:46:33 -08:00
2017-11-14 18:01:46 -08:00
2017-11-14 16:47:47 -08:00
2017-11-16 10:36:46 -08:00
2017-11-16 09:10:59 -08:00
2017-11-16 09:10:59 -08:00
2017-11-15 11:36:08 -08:00
2017-11-16 13:06:27 -08:00