Kuninori Morimoto
5e857047ba
dmaengine: rcar-dmac: initialize all data before registering IRQ handler
...
Anton Volkov noticed that engine->dev is NULL before
of_dma_controller_register() in probe.
Thus there might be a NULL pointer dereference in
rcar_dmac_chan_start_xfer while accessing chan->chan.device->dev which
is equal to (&dmac->engine)->dev.
On same reason, same and similar things will happen if we didn't
initialize all necessary data before calling register irq function.
To be more safety code, this patch initialize all necessary data
before calling register irq function.
Reported-by: Anton Volkov <avolkov@ispras.ru>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2017-08-25 12:27:07 +05:30
..
2016-09-14 18:57:38 +05:30
2017-05-24 09:55:17 +05:30
2017-01-19 14:20:23 +01:00
2017-07-08 12:36:50 -07:00
2017-01-02 10:48:44 +05:30
2016-10-03 09:36:11 +05:30
2017-07-03 10:39:51 +05:30
2017-08-25 12:27:07 +05:30
2017-07-03 10:36:46 +05:30
2016-02-22 09:06:09 +05:30
2017-05-24 09:44:32 +05:30
2015-11-16 09:21:05 +05:30
2016-12-08 21:24:17 +05:30
2017-08-21 22:20:44 +05:30
2017-03-06 08:49:11 +05:30
2017-05-19 08:56:16 +05:30
2016-09-26 22:28:24 +05:30
2016-10-03 09:17:33 +05:30
2013-01-07 17:36:37 +01:00
2017-04-06 12:41:59 +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
2017-03-14 10:11:27 +05:30
2016-08-08 08:11:42 +05:30
2017-05-01 15:51:06 +05:30
2016-12-14 20:42:45 -08:00
2017-05-24 09:52:46 +05:30
2017-06-29 09:25:28 +05:30
2015-04-02 16:10:27 +05:30
2016-07-16 20:19:00 +05:30
2017-06-22 18:31:35 +05:30
2017-06-22 18:31:35 +05:30
2016-02-15 22:06:45 +05:30
2016-03-24 23:13:48 -07:00
2016-12-12 22:25:22 +05:30
2017-06-01 22:09:12 +05:30
2017-05-30 11:52:58 +05:30
2016-08-08 08:11:39 +05:30
2016-12-08 21:24:21 +05:30
2017-07-04 10:05:10 +05:30
2015-08-18 22:12:14 +05:30
2017-05-16 10:01:57 +05:30
2016-12-12 22:25:22 +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
2017-05-14 18:24:46 +05:30
2017-04-24 18:40:03 +05:30
2016-11-25 11:16:36 +05:30
2017-06-15 09:44:45 +05:30
2016-11-14 10:07:58 +05:30
2016-05-14 13:34:10 +05:30
2017-06-20 11:45:01 +08:00
2016-12-12 22:25:22 +05:30
2017-07-08 12:36:50 -07:00
2016-10-18 20:14:32 +05:30
2016-12-12 22:25:22 +05:30
2016-09-26 22:29:26 +05:30
2016-12-12 22:25:22 +05:30
2016-10-19 22:29:33 +05:30
2016-10-18 20:12:06 +05:30
2016-06-08 08:59:55 +05:30
2013-05-23 21:13:19 +02:00
2017-08-21 21:56:12 +05:30
2017-03-06 10:41:24 +05:30
2017-04-24 09:50:05 +05:30
2016-11-25 11:49:38 +05:30
2017-06-30 11:13:44 +05:30
2016-08-22 11:55:05 +05:30
2017-01-02 10:37:26 +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
2017-04-26 09:03:27 +05:30
2016-10-01 11:41:39 +05:30
2016-08-08 08:11:43 +05:30
2017-01-25 15:33:45 +05:30