Pan Bian
7393fca924
dmaengine: ioat: set error code on failures
...
In function ioat_xor_val_self_test(), when the calls to
dma_mapping_error() fail, the value of return variable err is 0
(indicates no error). As a result, the return value may be inconsistent
with the execution status. This patch fixes the bug by assigning
"-ENOMEM" to err on the error path.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188601
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-12-06 10:28:18 +05:30
..
2016-09-14 18:57:38 +05:30
2016-10-06 17:13:54 -07:00
2016-09-15 21:15:40 +05:30
2016-12-06 10:28:18 +05:30
2016-10-03 09:18:29 +05:30
2016-10-03 09:36:11 +05:30
2016-08-31 21:27:32 +05:30
2016-10-06 17:13:54 -07:00
2016-08-08 08:11:43 +05:30
2016-02-22 09:06:09 +05:30
2016-06-21 21:35:00 +05:30
2015-11-16 09:21:05 +05:30
2016-08-08 08:11:38 +05:30
2016-10-06 17:13:54 -07:00
2016-07-06 22:39:43 +05:30
2016-09-26 22:28:24 +05:30
2016-10-03 09:17:33 +05:30
2016-10-03 09:17:33 +05:30
2016-07-01 22:56:41 +05:30
2016-09-26 22:25:57 +05:30
2016-10-03 09:16:03 +05:30
2016-08-22 11:49:07 +05:30
2016-08-08 08:11:42 +05:30
2016-09-15 21:17:58 +05:30
2016-10-03 09:16:03 +05:30
2016-10-03 09:17:33 +05:30
2016-10-06 17:13:54 -07:00
2015-04-02 16:10:27 +05:30
2016-07-16 20:19:00 +05:30
2016-10-03 09:36:11 +05:30
2015-01-13 23:58:08 +05:30
2016-02-15 22:06:45 +05:30
2016-03-24 23:13:48 -07:00
2016-08-22 11:57:49 +05:30
2016-08-08 08:11:39 +05:30
2016-10-06 17:13:54 -07:00
2016-08-08 08:11:39 +05:30
2016-09-07 13:38:43 +05:30
2016-10-03 09:18:14 +05:30
2015-08-18 22:12:14 +05:30
2016-07-12 10:09:53 +05:30
2016-08-08 08:11:39 +05:30
2015-08-05 10:53:52 +05:30
2016-08-08 08:11:39 +05:30
2016-10-03 09:17:33 +05:30
2016-09-05 16:40:52 +05:30
2016-10-03 09:17:33 +05:30
2016-07-12 10:10:00 +05:30
2016-10-03 09:36:11 +05:30
2016-09-15 21:13:59 +05:30
2016-10-03 09:18:29 +05:30
2016-08-08 08:11:40 +05:30
2016-05-14 13:34:10 +05:30
2016-10-01 11:35:27 +05:30
2016-08-08 08:11:40 +05:30
2016-10-03 09:19:03 +05:30
2016-08-19 16:17:26 +05:30
2016-10-03 09:16:03 +05:30
2016-09-26 22:29:26 +05:30
2016-10-03 09:18:29 +05:30
2016-06-08 08:59:55 +05:30
2016-10-03 09:35:55 +05:30
2016-09-26 22:31:36 +05:30
2016-05-27 15:26:11 -07:00
2016-09-26 23:15:06 +05:30
2016-08-08 08:11:41 +05:30
2016-08-22 11:55:05 +05:30
2016-09-28 08:54:28 +05:30
2016-08-08 08:11:41 +05:30
2014-07-15 22:14:30 +05:30
2016-08-08 08:11:41 +05:30
2014-11-24 22:46:44 +01:00
2016-08-08 08:11:41 +05:30
2016-10-01 11:41:39 +05:30
2016-08-08 08:11:43 +05:30
2015-11-10 10:05:17 -08:00